Re: [sqlite] question about sqlite3_step

2008-08-21 Thread Igor Tandetnik
"Dave Dyer" <[EMAIL PROTECTED]>
wrote in message news:[EMAIL PROTECTED]
> Is it ever possible for subsequent calls to sqlite_step
> to return either a different number of column values or
> a different set of columns?

No. The set of columns is fixed at the time you call 
sqlite3_prepare[_v2].

> In other words, if I'm doing something based on the column
> names, can I check only the first step, and assume the
> rest are the same?

You can check column names after prepare, without even calling step 
first.

Igor Tandetnik



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


[sqlite] question about sqlite3_step

2008-08-21 Thread Dave Dyer

Is it ever possible for subsequent calls to sqlite_step
to return either a different number of column values or
a different set of columns?

In other words, if I'm doing something based on the column
names, can I check only the first step, and assume the
rest are the same?

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