Skip to content

Instantly share code, notes, and snippets.

@geobabbler
Created January 8, 2014 20:40
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 geobabbler/8324217 to your computer and use it in GitHub Desktop.
Save geobabbler/8324217 to your computer and use it in GitHub Desktop.
SELECT name FROM sqlite_master
WHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%'
UNION ALL
SELECT name FROM sqlite_temp_master
WHERE type IN ('table','view')
ORDER BY 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment