oracle
vitaair
这个作者很懒,什么都没留下…
展开
-
Oracle 查询重复字段
select 字段名,count(*) from table group by 字段名 having count(*) > 1select name1,name2,count(*) from table group by name1,name2 having count(*) > 1原创 2020-11-27 15:14:26 · 607 阅读 · 0 评论 -
ORACLE数据库查询表名及表备注,字段名及字段备注SQL
-- 查询指定表里字段及字段注释select column_name,data_type,data_length,DATA_PRECISION ,DATA_SCALEfrom all_tab_columnswhere table_name = UPPER('test11');-- 查询字段及字段注释select COLUMN_NAME,COMMENTSfrom user_col_commentswhere TABLE_NAME = UPPER('test11');-- 查询所有表及表注.原创 2020-11-23 08:26:41 · 5826 阅读 · 0 评论