Re: [sqlite] order of reception of results at the time of a request SQL

2005-07-22 Thread Austin Ziegler
On 7/22/05, LURKIN Denis <[EMAIL PROTECTED]> wrote: > I have do many tests. It appears that the results of requests > each time are received in the same order. This order is that of > creation of the table. If I have make a CREATE TABLE X (int, char, > int, char), I receive the results of my reques

Re: [sqlite] order of reception of results at the time of a request SQL

2005-07-22 Thread LURKIN Denis
Thank you to all, I thus will pay attention in my code and to put the columns in the order and thus not to use the "select *". It will be more careful. Denis Lurkin.

Re: [sqlite] order of reception of results at the time of a request SQL

2005-07-22 Thread Jay Sprenkle
> I have do many tests. It appears that the results of requests > each time are received in the same order. This order is that of > creation of the table. If I have make a CREATE TABLE X (int, char, > int, char), I receive the results of my request SQL in the good order: > int, char, int, char. How

Re: [sqlite] order of reception of results at the time of a request SQL

2005-07-22 Thread Nicholas Choate
I have created a small 4 column d-base and if I do a "select * from table" sqlite always returns to me the order of the data in the order that it was listed in the create statement. (Actually, I based a lot of functionality in a small C++ program I wrote on this, and it has never failed. I've

Re: [sqlite] order of reception of results at the time of a request SQL

2005-07-22 Thread Puneet Kishor
On Jul 22, 2005, at 2:11 AM, LURKIN Denis wrote: Hello, I have do many tests. It appears that the results of requests each time are received in the same order. This order is that of creation of the table. If I have make a CREATE TABLE X (int, char, int, char), I receive the results of my reque

Re: [sqlite] order of reception of results at the time of a request SQL

2005-07-22 Thread LURKIN Denis
Hello, I have do many tests. It appears that the results of requests each time are received in the same order. This order is that of creation of the table. If I have make a CREATE TABLE X (int, char, int, char), I receive the results of my request SQL in the good order: int, char, int, char. Howe

Re: [sqlite] order of reception of results at the time of a request SQL

2005-07-20 Thread Jay Sprenkle
> 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 { > printf("%s = %s\n", azColName[i

[sqlite] order of reception of results at the time of a request SQL

2005-07-20 Thread LURKIN Denis
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; iand that the table USER is created with: CREATE T