Created
December 29, 2015 00:28
-
-
Save mikedfunk/8120d69bb919b67890e9 to your computer and use it in GitHub Desktop.
search all tables for matching column names
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 DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE COLUMN_NAME LIKE '%sku%' | |
AND TABLE_SCHEMA='zed'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment