Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
就像我只想执行带有评论的查询一样。
例子:
/*Selects all columns and rows*/ SELECT * FROM "SNAPLOGIC"."CUSTCOMM1"
或者
-- comment select * from "SNAPLOGIC"."CUSTCOMM1"
我们可以在 Oracle SQL 中执行吗?
注意:这些语句可以在 DBeaver 等工具中执行。
第一行是查询上方的注释。
如果显示错误消息,则可能是缺少空格的原因。
/* Selects all columns and rows */ SELECT * FROM "SNAPLOGIC"."CUSTCOMM1"