有时候要改改表字段的某些精度,可能一多就不确定是否改全了,Or
select a.owner,a.table_name,b.column_name,b.data_precision || ',' ||b.data_scale from dba_tables a,dba_tab_columns b,dba_objects c where a.owner = b.owner and a.table_name = b.table_name and a.table_name = c.object_name --and a.owner in ('XXX') --用户可选 --and b.data_type in ('VARCHAR2','CHAR','NCHAR','NCLOB','NVARCHAR2','NUMBER','DATE','TIMESTAMP%','FLOAT') and c.object_type = 'TABLE' and upper(b.column_name) like '%BG_NUM%' order by a.owner,b.column_id; (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |