On 3/31/2011 10:27 AM, john darnell wrote:
> All I need to do is see how many rows a table has.

select count(*) from TableName;

>     char ***CArray = NULL;
>     int iRow, iCol;
>     char **err = NULL;
>     sqlite3_get_table(db_ptr, "Select * from Admin", CArray,&iRow,&iCol, err);

    char** CArray = NULL;
    int iRow, iCol;
    char* err = NULL;
    sqlite3_get_table(db_ptr, "Select * from Admin", &CArray, &iRow, 
&iCol, &err);

-- 
Igor Tandetnik

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

Reply via email to