"Juzbrig" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok it works but how do I get messages/errors back from DB? Because
> now im doing it blind.
You check return value for error code. If you got one, you call
sqlite3_errmsg[16] for an error message.
Igor Tandetnik
ED] On Behalf Of Juzbrig
> Sent: 23 July 2008 13:31
> To: sqlite-users@sqlite.org
> Subject: [sqlite] SQLite under c++
>
>
> Hi.
> I am new in sqlite (before I have mysql + php experience). I have a
> question
>
> If my DB is alredy open
>
> sqlite3* handle;
&
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,);
>
> How can I get the results of SQL "SELECT * FROM"
3_finalize(pStatement);
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Juzbrig
Sent: 23 July 2008 13:31
To: sqlite-users@sqlite.org
Subject: [sqlite] SQLite under c++
Hi.
I am new in sqlite (before I have mysql + php experience). I have a question
If my DB
Hi.
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,);
How can I get the results of SQL "SELECT * FROM" into a string table or any
c++ structure ?
5 matches
Mail list logo