Skip to content

Instantly share code, notes, and snippets.

@mbuyco
Last active October 5, 2022 06:48
Show Gist options
  • Save mbuyco/f7308a573dd52e650001019422cca9c5 to your computer and use it in GitHub Desktop.
Save mbuyco/f7308a573dd52e650001019422cca9c5 to your computer and use it in GitHub Desktop.
Given a database name and table name, find all tables which have a foreign key constraint with the given table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment