Skip to content

Instantly share code, notes, and snippets.

@davidwaterston
Created September 20, 2012 11:39
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidwaterston/3755420 to your computer and use it in GitHub Desktop.
Save davidwaterston/3755420 to your computer and use it in GitHub Desktop.
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__'
@oscdeveloper
Copy link

Thanks bro!

@TCS-markp
Copy link

Same! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment