On 3 Jun 2011, at 9:26pm, Keith Christian wrote: > Problem - After the first pass, it obviously attempts to CREATE TABLE > again, even though the table already exists (Lines 22-25 below.) > > Is there a function provided by libtclslqite3.so that could either > list the existing tables, or trap this error?
Use the form CREATE TABLE IF NOT EXISTS ... http://www.sqlite.org/lang_createtable.html Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users