Created
October 14, 2011 10:21
-
-
Save kevinetienne/1286752 to your computer and use it in GitHub Desktop.
check if table exists in sqlite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT name FROM sqlite_master WHERE type='table' AND name='table_name'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment