Skip to content

Instantly share code, notes, and snippets.

@itomg
Created November 6, 2013 03:23
Show Gist options
  • Save itomg/7330380 to your computer and use it in GitHub Desktop.
Save itomg/7330380 to your computer and use it in GitHub Desktop.
select column_name from information_schema.columns where TABLE_NAME = 'your table name' order by ordinal_position;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment