int sqlite3_column_count(sqlite3_stmt *pStmt);
R-49744-28344:[Return the number of columns in the result set returned by the prepared statement. ] R-56208-64576:[If this routine returns 0, that means the prepared statement returns no data (for example an UPDATE). ] R-20264-55497:[However, just because this routine returns a positive number does not mean that one or more rows of data will be returned. ] R-13991-38016:[A SELECT statement will always have a positive sqlite3_column_count() but depending on the WHERE clause constraints and the table content, it might return no rows. ]
See also: sqlite3_data_count()