Re: [sqlite] Using binding in sqlite insert statements

2014-12-09 Thread Prakash Premkumar
Thanks a lot for your reply Simon. It was returning SQLITE_DONE. (But I
have checked for SQLITE_OK in my code). It's fixed now

Thank you
Prakash

On Tue, Dec 9, 2014 at 5:02 PM, Simon Davies 
wrote:

> On 9 December 2014 at 10:56, Prakash Premkumar 
> wrote:
> > Hi,
> >
> > I'm trying to use the sqlite_bind function calls to pass values to the
> > insert queries in sql.
> >
> > Here's the code I'm trying to execute: http://pastebin.com/kMvAHsrk
> >
> > I get an error after the sqlite3_step() function call :
> > The error message is "Unknown error".
>
> Check expected return value:
> http://www.sqlite.org/c3ref/step.html
>
> >
> > Can you kindly help me fix this ?
> >
> > Thanks
> > Prakash
>
> Regards,
> Simon
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Using binding in sqlite insert statements

2014-12-09 Thread Simon Davies
On 9 December 2014 at 10:56, Prakash Premkumar  wrote:
> Hi,
>
> I'm trying to use the sqlite_bind function calls to pass values to the
> insert queries in sql.
>
> Here's the code I'm trying to execute: http://pastebin.com/kMvAHsrk
>
> I get an error after the sqlite3_step() function call :
> The error message is "Unknown error".

Check expected return value:
http://www.sqlite.org/c3ref/step.html

>
> Can you kindly help me fix this ?
>
> Thanks
> Prakash

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


[sqlite] Using binding in sqlite insert statements

2014-12-09 Thread Prakash Premkumar
Hi,

I'm trying to use the sqlite_bind function calls to pass values to the
insert queries in sql.

Here's the code I'm trying to execute: http://pastebin.com/kMvAHsrk

I get an error after the sqlite3_step() function call :
The error message is "Unknown error".

Can you kindly help me fix this ?

Thanks
Prakash
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users