2022-07-18 551
oracle怎么修改表注释
Oracle中用comment on命令给表或字段加以说明。
用法如下:
1.对表的说明:
comment on table table_name is '对表的说明';
2.对表中列的说明:
comment on column table.column_name is '对表中列的说明';
3.查看表的说明
select * from user_tab_comments where table_name = 'employees';
4.查看表中列的说明
select * from user_col_comments where table_name = 'employees';
5.查看数据库中所有表中列的说明
select * from user_col_comments where comments is not null;
6.删除表级或列级说明,即时将其设置为空
comment on table employees is ''; comment on column employees.salary is '';
原文链接:https://77isp.com/post/2094.html
=========================================
https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。
数据库技术 2022-03-28
网站技术 2022-11-26
网站技术 2023-01-07
网站技术 2022-11-17
Windows相关 2022-02-23
网站技术 2023-01-14
Windows相关 2022-02-16
Windows相关 2022-02-16
Linux相关 2022-02-27
数据库技术 2022-02-20
抠敌 2023年10月23日
嚼餐 2023年10月23日
男忌 2023年10月22日
瓮仆 2023年10月22日
簿偌 2023年10月22日
扫码二维码
获取最新动态