Small, Fast, Reliable.
Choose any three.

SQLite C Interface

Number Of Columns In A Result Set

int sqlite3_column_count(sqlite3_stmt *pStmt);

Return the number of columns in the result set returned by the compiled SQL statement. This routine returns 0 if pStmt is an SQL statement that does not return data (for example an UPDATE).

See also lists of Objects, Constants, and Functions.


This page last modified 2007/11/22 00:41:31 UTC