On Fri, Jun 3, 2011 at 2:42 PM, Simon Slavin <slav...@bigfraud.org> wrote:
> Use the form
>
> CREATE TABLE IF NOT EXISTS ...
>
> http://www.sqlite.org/lang_createtable.html


Thank you, Simon.

I have another question about the TCL interface:  What is the syntax
to execute the commands available at the sqlite> prompt?

Suppose I want to run the ".databases" command, usually executed from
the sqlite> prompt.

This throws an error:

        db1 eval {.databases}
        
        near "".databases"": syntax error
            while executing
        "db1 eval {".databases"}"
            (file "./sqlite_tcl_so_test.tcl" line 22)


Thanks again.

=======Keith
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to