Skip to content

Instantly share code, notes, and snippets.

@PatelUtkarsh
Created March 15, 2016 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatelUtkarsh/26986862e2c6f2d64dd2 to your computer and use it in GitHub Desktop.
Save PatelUtkarsh/26986862e2c6f2d64dd2 to your computer and use it in GitHub Desktop.
Search mysql database columns
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