在 SQL 中注释 table 时的语法 (Oracle)
Syntax when comment a table in SQL (Oracle)
我想在 SQL (Oracle) 中评论一个 table 并在这个评论中添加一个 URL:
comment on table A is 'https://whosebug.com/';
但它 return 一个错误:未知命令。
正确的语法是什么,如何转义特殊字符?
简单
comment on table "HR"."A" is 'https://whosebug.com/#'
并且由于您标记了 SQL 开发人员,所以在 SQL 开发人员中就是这样。
现在出现在这里:
您可以找到 Docs for that here.
我想在 SQL (Oracle) 中评论一个 table 并在这个评论中添加一个 URL:
comment on table A is 'https://whosebug.com/';
但它 return 一个错误:未知命令。
正确的语法是什么,如何转义特殊字符?
简单
comment on table "HR"."A" is 'https://whosebug.com/#'
并且由于您标记了 SQL 开发人员,所以在 SQL 开发人员中就是这样。
现在出现在这里:
您可以找到 Docs for that here.