天天看點

oracle 判斷列是否在資料庫中存在

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