Skip to content

Instantly share code, notes, and snippets.

@FokkeZB
Created April 12, 2013 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FokkeZB/5372689 to your computer and use it in GitHub Desktop.
Save FokkeZB/5372689 to your computer and use it in GitHub Desktop.
Get SQLite table definition using SqliteQuery (http://www.software-by-mabe.com//software/freeware.html) or a similar tool.
SELECT sql FROM sqlite_master WHERE tbl_name = 'YOUR_TABLE_NAME' AND type = 'table';
@tonylukasavage
Copy link

pragma table_info('YOUR_TABLE_NAME'); is also very useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment