On 10 Oct 2011, at 4:25pm, Tim Streater wrote:

> Looking at the description text for sqlite3_exec (SQLite C interface), I see 
> this text:
> 
> "The sqlite3_exec() interface runs zero or more UTF-8 encoded, 
> semicolon-separate SQL statements passed into its 2nd argument, in the 
> context of the database connection passed in as its 1st argument."
> 
> Now, Simon said that the PHP SQLite3 interface (which I would like to use), 
> is a thin wrapper around the SQLite C interface.

I did say that.  However, in another post I commented that the documentation 
for the PHP SQLite3:: interface explicitly says that it executes one statement. 
 And here it is:

<http://www.php.net/manual/en/sqlite3.exec.php

> Can I conclude, then, that such multiple statements would be properly 
> executed if presented via the PHP interface? What would happen if such a 
> string contained more than one SELECT - or if the SELECT is not the first 
> statement?


Don't know.  What happened when you tried it ?
Then you'll know what happens with your installation of your versions of those 
pieces of software.

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

Reply via email to