[sqlite] Null row detection when doing sqlite3_step

2007-04-12 Thread pompomJuice
Hello. What is the best way to determine that sqlite3_step returned a null now? At the moment the only way I see is checking each select column with sqlite3_column_bytes and setting the row ato null id all of those calls return 0. Is there maybe a better way? I can't seem to find such an function

Re: [sqlite] Null row detection when doing sqlite3_step

2007-04-12 Thread pompomJuice
Sortoff. Basically I am looking for somthing simular to oracle's code 1403 where a query returned zero rows. How do I know when step resulted in zero rows without checking each column value that the query returned. If it is so that I need to check all columns then I would like to know which of t

Re: [sqlite] Null row detection when doing sqlite3_step

2007-04-12 Thread pompomJuice
Thanks. Igor Tandetnik wrote: > > pompomJuice <[EMAIL PROTECTED]> wrote: >> Basically I am looking for somthing simular to oracle's code 1403 >> where a query returned zero rows. > > If a resultset is empty, the very first call to sqlite3_step would > return SQLITE_DONE (normally it would be