获取Oracle数据库中字段信息

select t.DATA_PRECISION,t.DATA_SCALE,t.DATA_LENGTH,t.DATA_TYPE,t.COLUMN_NAME, t.NULLABLE,t.DATA_DEFAULT,c.COMMENTS
from all_tab_columns t left join all_col_comments c
on t.table_name = c.table_name and t.column_name = c.column_name
where t.table_name = ‘TEST2‘
order by t.COLUMN_ID

获取Oracle数据库中字段信息,布布扣,bubuko.com

获取Oracle数据库中字段信息

上一篇:Oracle RMAN备份中catalog和nocatalog区别


下一篇:Oracle TIMESTAMP的处理