oracle获取列数据类型

select 
column_name,
data_type,
data_precision,
data_scale,
nvl((select t_s.comments
from all_col_comments t_s
where t_s.column_name = t.column_name
and t_s.table_name ='ccr_company_fundamental'
),column_name)
comments
from all_tab_columns t 
where
table_name = upper('ccr_company_fundamental')

原文地址:https://www.cnblogs.com/lilb/p/5101287.html