davidwaterston
9/20/2012 - 11:39 AM

Oracle: Check if a column exists in a table

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__'