关于sql语句 comment on的问题

nanacircle 2002-12-13 03:20:14
问个弱点的问题,sql中是不是有个语句comment on ....什么意思啊?举个例子解释
一下。
sql中有没有关于audit的语句,命令。
...全文
1705 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
nanacircle 2002-12-16
  • 打赏
  • 举报
回复
哦,找到了,谢谢,结贴了。
nanacircle 2002-12-13
  • 打赏
  • 举报
回复
comment on table teacher is
'test comment statment';
然后在DBA Studio里找不到 啊
wanghai 2002-12-13
  • 打赏
  • 举报
回复
The purpose of the table and the column can be documented in the database
using the COMMENT command. Let’s provide comments for our example table:
SQL> COMMENT ON TABLE MYTABLE IS 'Oracle8i Study Guide
Example Table';
Comment created.
SQL> COMMENT ON COLUMN MYTABLE.COLUMN_1 is 'First column
in MYTABLE';
Comment created.
SQL>
wanghai 2002-12-13
  • 打赏
  • 举报
回复
你到DBA里面就看到了
nanacircle 2002-12-13
  • 打赏
  • 举报
回复
这个注释是做什么用的,加了注释显示在哪里?
先谢谢wanghai了,继续啊:)
wanghai 2002-12-13
  • 打赏
  • 举报
回复
comment on talbe 给表加注释
comment on column 给列加注释

17,086

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧