pysqlite - Checking the existance of a table

Dave Cook davecook at nowhere.net
Sun Jun 19 12:29:28 EDT 2005


On 2005-06-17, rh0dium <sklass at pointcircle.com> wrote:

> I am starting to play with pysqlite, and would like to know if there is
> a function to determine if a table exists or not.

sqlite_master has already been mentioned, so I'll point out some useful
pragmas (under "Pragmas to query the database schema"):

http://sqlite.org/pragma.html

Dave Cook



More information about the Python-list mailing list