Skip to content

Instantly share code, notes, and snippets.

@codewithtyler
Created July 5, 2017 22:04
Show Gist options
  • Select an option

  • Save codewithtyler/9e55b31e05bb899b1737e1b2208e0928 to your computer and use it in GitHub Desktop.

Select an option

Save codewithtyler/9e55b31e05bb899b1737e1b2208e0928 to your computer and use it in GitHub Desktop.
-- Get name of table using the constraint name
SELECT owner, table_name
FROM user_constraints
WHERE constraint_name = '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment