On Fri, Jul 20, 2012 at 6:51 AM, Arbol One <[email protected]> wrote:

> Is there a way to find out if a certain database AND table already exist?
>
> I am using std i/o methods to check for the existing SQLite3 file
> containing the database,


==> I think that's the standard method.


but I don't have a way to find out if the table in question
> does in fact exist.
>
> ==> You can
  - query sqlite_master
  - PRAGMA table_info
  - SELECT 'anything'  FROM 'MyTableInQuestion' LIMIT 0;
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to