Joe & Igor - thanks for the tips!

Mark

> -----Original Message-----
> From: Joe Wilson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 27, 2007 5:39 PM
> To: [email protected]
> Subject: Re: [sqlite] Re: Distinguishing empty-result SELECT
> from INSERT, UPDATE, DELETE, etc.
>
> See also sqlite3_sql() if sqlite3_prepare_v2() or
> sqlite3_prepare16_v2() was used.
>
> http://www.sqlite.org/cvstrac/chngview?cn=4543
>
> --- Igor Tandetnik <[EMAIL PROTECTED]> wrote:
> > Evans, Mark (Tandem) <[EMAIL PROTECTED]> wrote:
> > > Would I be the first person to wish there were a way for, say, a
> > > JDBC driver that uses SQLite to be able to tell what kind of SQL
> > > statement it is executing?
> >
> > sqlite3_column_count returns 0 for a non-SELECT statement, and a
> > non-zero value for SELECT.
>
>

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to