标签:
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‘)
and data_type=‘NUMBER‘
标签:
原文地址:http://www.cnblogs.com/kexb/p/5100483.html