Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created May 7, 2012 20:18
Show Gist options
  • Save knowuh/2630137 to your computer and use it in GitHub Desktop.
Save knowuh/2630137 to your computer and use it in GitHub Desktop.
mysql> SELECT character_set_name, column_name FROM information_schema.`COLUMNS` C
-> WHERE table_schema = "sg_authoring_pro"
-> AND table_name = "units";
+--------------------+--------------+
| character_set_name | column_name |
+--------------------+--------------+
| NULL | id |
| utf8 | name |
| utf8 | abbreviation |
| NULL | created_at |
| NULL | updated_at |
+--------------------+--------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment