manski

Query all columns in a table

Jul 24th, 2012
31
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT *
  2. FROM INFORMATION_SCHEMA.COLUMNS
  3. WHERE table_name = 'my_table'
RAW Paste Data