Function sqlite3_column_count() returns number of columns in your
SELECT statement. For all other statements it returns 0.
Pavel
On Mon, Jun 18, 2012 at 7:35 AM, Arbol One wrote:
> After creating a database, I, now, would like to create a table called
> 'friend', but
After creating a database, I, now, would like to create a table called
'friend', but for some reason 'sqlite3_column()' reports zero.
What elese do I have to do to have the table created, this is what I have so
far done.
int main() {
sqlite3 *db; // Data Base
sqlite3_stmt* stmt;
int rc; //
After creating a database, I, now, would like to create a table called
'friend', but for some reason 'sqlite3_column()' reports zero.
What elese do I have to do to have the table created, this is what I have so
far done.
int main() {
sqlite3 *db; // Data Base
sqlite3_stmt* stmt;
int rc; //
3 matches
Mail list logo