sqlite newbie question - how to know if a table exists?

kf9150 at gmail.com kf9150 at gmail.com
Fri Jun 22 12:47:06 EDT 2007


On Jun 22, 12:07 am, Gerhard Häring <g... at ghaering.de> wrote:
> That approach is ok. If your SQLite library is recent enough (I don't
> know the exact version), you can use "create table if not exists ...".

>
> -- Gerhard


Thanks Gerhard. I'm using sqlite3 that came with Python2.5
installation. So "create table if not exists" works.




More information about the Python-list mailing list