Hello,

In my application, I call upon the method sqlite3_exec(). This
method returns the results of request SQL in a function:
callback(int argc, char **argv, char **azColName).
This function "callback" displays then the results:

int i;
for(i=0; i<argc; i++)
{
        printf("%s = %s\n", azColName[i], (argv[i] != NULL)? argv[i] : "NULL");
}

Can I be sure that the results will be always received by the
callback in the order of creation of the table?

For example, if I make "SELECT * FROM USER;"
and that the table USER is created with: CREATE TABLE USER (NAME char(50) , SURNAME char(50));
the callback will it always receive the "NAME" then the
"SURNAME"?

Thank you in advance,

Denis Lurkin.

Reply via email to