Created
September 20, 2012 11:39
-
-
Save davidwaterston/3755420 to your computer and use it in GitHub Desktop.
Oracle: Check if a column exists in a table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select column_name as found | |
from user_tab_cols | |
where table_name = '__TABLE_NAME__' | |
and column_name = '__COLUMN_NAME__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks bro!