Oracle: Check if a column exists in a table
select column_name as found from user_tab_cols where table_name = '__TABLE_NAME__' and column_name = '__COLUMN_NAME__'