天天看点

oracle 判断列是否在数据库中存在

select count('列名') from cols  where table_name=upper('表名') and column_name=upper('列名')