Created
March 15, 2016 12:30
-
-
Save PatelUtkarsh/26986862e2c6f2d64dd2 to your computer and use it in GitHub Desktop.
Search mysql database columns
This file contains hidden or 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 '%awesome%' | |
AND TABLE_SCHEMA='YourDatabase'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment