Re: [sqlite] Checking if an "integer" column is set to NULL

2009-05-25 Thread John Machin
On 25/05/2009 10:15 PM, chandan wrote: > Hi, > I have used sqlite3_bind_null() API to bind an integer column with > NULL. When I read the value of that integer column I get the value as 0 > (zero). Is there any way I can check if the column is set to NULL? You do realise that calling it

Re: [sqlite] Checking if an "integer" column is set to NULL

2009-05-25 Thread chandan
Thanks a lot!. The solution works :-) Hamish Allan wrote: > On Mon, May 25, 2009 at 1:15 PM, chandan > wrote: > > >>I have used sqlite3_bind_null() API to bind an integer column with >> NULL. When I read the value of that integer column I get the value as

Re: [sqlite] Checking if an "integer" column is set to NULL

2009-05-25 Thread Hamish Allan
On Mon, May 25, 2009 at 1:15 PM, chandan wrote: >    I have used sqlite3_bind_null() API to bind an integer column with > NULL. When I read the value of that integer column I get the value as 0 > (zero). Is there any way I can check if the column is set to NULL?