On Mon, May 16, 2016 at 2:58 PM, E.D. <bookreader1307 at yandex.ru> wrote:

> Hi.
>
> The sqlite3 documentation specifies, that sqlite3_prepare*() compile "the
> first statement" from the sqlite3_stmt ** argument. This argument ought to
> be explained thoroughly.
> What exactly can be put through this argument? Compound statements,
> transactions? What syntax?
>

The first _SQL statement_ is processed. Anything after that is ignored. e.g.

select 1 from foo; -- first statement ends here
select 2 from foo; -- this is ignored.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf

Reply via email to