Skip to content

Instantly share code, notes, and snippets.

Created December 5, 2013 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/dbd6abee3598c3e46432 to your computer and use it in GitHub Desktop.
Save anonymous/dbd6abee3598c3e46432 to your computer and use it in GitHub Desktop.
An Error occurred submitting the answer/edit ORACLE SQL code
col column_name FOR a30
SELECT d.owner,
d.table_name,
c.constraint_name,
d.column_name,
c.constraint_type
FROM dba_constraints c,
dba_cons_columns d
WHERE c.table_name = '&TABLE_NAME'
AND c.owner = '&SCHEMA_NAME'
AND c.constraint_name = d.constraint_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment