给表添加注释的方式
comment on table table_name is ‘对表注释的内容’;
查询某表的注释
select * from user_tab_comments where table_name = ‘TABLE_NAME’;
给列添加注释内容的方式,有多少个列应该写多少个
comment on column table_name.column1 is ‘对column 1列注释的内容’;
查询某表下某列的注释
select * from user_col_comments where table_name = ‘TABLE_NAME’ and column_name = ‘column1’;
相关文章
- jQuery的$.get()函数不执行以及php端报错Uncaught Error: Call to a member function bind_param() on boolean in...
- 如何看待微软新开源的LightGBM?
- 【Linux】CentOS7 alien命令 转化deb 与 rpm的相互转化
- div clear清除浮动产生的影响 被受影响的div加上清除浮动后 不会填充前一个div浮动后空出的位置
- 如何高效的使用 Git---转
- 比较好用的php函数
- 基于UML的公开招聘教师管理系统建模的研究和设计
- WIN10中DOCKER的安装
- 基于OSGI.Net的图形界面系统
- 雨露均沾的OkHttp—WebSocket长连接的使用&源码解析