Created
January 17, 2014 09:43
-
-
Save gustavobgama/8470737 to your computer and use it in GitHub Desktop.
Search for a column in all tables
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 table_name,table_schema FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE column_name='column_name'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment