Skip to content

Instantly share code, notes, and snippets.

@eloyz
Created October 11, 2012 14:51
Show Gist options
  • Save eloyz/3872933 to your computer and use it in GitHub Desktop.
Save eloyz/3872933 to your computer and use it in GitHub Desktop.
Get number of columns in database table
SELECT COUNT(*) from information_schema.columns
WHERE table_name='forms_form';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment