标签:io sp for on div bs line nbsp oracle
将特点表PROPERTY_INFO的所有列名小写变大写
begin
for c in (select COLUMN_NAME cn from all_tab_columns where table_name=‘PROPERTY_INFO‘) loop
begin
execute immediate ‘alter table PROPERTY_INFO rename column "‘||c.cn||‘" to ‘||c.cn;
exception
when others then
dbms_output.put_line(‘PROPERTY_INFO‘||‘.‘||c.cn||‘已经存在‘);
end;
end loop;
end;
标签:io sp for on div bs line nbsp oracle
原文地址:http://www.cnblogs.com/wenboge/p/4121331.html