Juzbrig <[EMAIL PROTECTED]> wrote: > I am new in sqlite (before I have mysql + php experience). I have a > question If my DB is alredy open > > sqlite3* handle; > const char* baza = "cols.db3" ; > char *zErrMsg = 0; > sqlite3_open(test_baza,&handle); > > How can I get the results of SQL "SELECT * FROM" into a string table > or any c++ structure ? > sqlite3_exec() doesn't seem to return any strings/chars.
http://sqlite.org/c3ref/free_table.html But it's better to use prepared statement APIs: sqlite3_prepare[_v2], sqlite3_step, sqlite3_column_*, sqlite3_finalize. Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users