Created
February 16, 2015 00:35
-
-
Save mourawaldson/e897b827e4a135f99491 to your computer and use it in GitHub Desktop.
Search for a field in a db
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 '%field_name%' AND TABLE_SCHEMA = 'scheme_name'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment