sqlite-users  

[sqlite] How to use function in binding parameters ?

Marten Feldtmann
Tue, 08 Apr 2008 02:20:12 -0700

I'm not sure how to use a function call in a prepared statement:

insert into persons(name, birthday) values( ?,?)

how to I bind the value of date('1964-04-01') to one of the
parameters ? I want to store not the string, but the value of
the internal date-function-call into that column ?

Somehow I do not get it how I could do that using the API !?

Thanks,

Marten




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