Skip to content

Instantly share code, notes, and snippets.

@barryparkin
Last active February 13, 2024 11:44

Revisions

  1. barryparkin renamed this gist Mar 18, 2015. 1 changed file with 0 additions and 0 deletions.
  2. barryparkin renamed this gist Feb 19, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. barryparkin created this gist Feb 19, 2014.
    4 changes: 4 additions & 0 deletions gistfile1.sql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    SELECT DISTINCT TABLE_NAME
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE COLUMN_NAME like '%{{fieldname}}%'
    AND TABLE_SCHEMA = {{Database}};