My version of SQLite does not support the IF EXISTS operator. How can I drop a table which may or may not exist without getting an error slapped at me?
IF EXISTS
You could somehow use the metadata table in your query to find out if the table exist:
SELECT count(*) > 0 FROM sqlite_master where tbl_name = "" and type="table"