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
原文地址:http://www.cnblogs.com/lit10050528/p/3853900.html