repare allocates and locks appropriate resources. I need
> to only check the sanity of the statement, and then discard.
>
> So I was wondering if there was a way to do it, instead of prepare statement
>
> --- On Thu, 7/3/08, D. Richard Hipp <[EMAIL PROTECTED]> wrote:
> Fr
ichard Hipp <[EMAIL PROTECTED]>
Subject: Re: [sqlite] validate SQL Statement
To: "General Discussion of SQLite Database"
Date: Thursday, July 3, 2008, 2:10 AM
On Jul 2, 2008, at 11:03 PM, Umaa Krishnan wrote:
> I was wondering if there a way in sqlite, wherein I could validate
You can use sqlite3_complete. It does not check the grammar. It just makes
makes sure that command has a semicolin. Why you need grammar checking?
On Wed, Jul 2, 2008 at 11:03 PM, Umaa Krishnan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I was wondering if there a way in sqlite, wherein I could vali
On Jul 2, 2008, at 11:03 PM, Umaa Krishnan wrote:
> I was wondering if there a way in sqlite, wherein I could validate
> the SQL statement (for correct grammar, resource name - column name,
> table name etc), w/o having to do prepare.
You speak as if sqlite3_prepare() were a huge burden - s
Hello,
I was wondering if there a way in sqlite, wherein I could validate the SQL
statement (for correct grammar, resource name - column name, table name etc),
w/o having to do prepare.
Thanks in advance
--- On Wed, 7/2/08, Alex Katebi <[EMAIL PROTECTED]> wrote:
From: Alex Katebi <[EMAIL PRO
5 matches
Mail list logo