Den 19/12/2010 kl. 22.17 skrev Andy:

> On Dec 19, 3:48 pm, Maksymus007 <maksymus...@gmail.com> wrote:
>> you get array of arrays.
>> First array contains rows. Every row is just an array of fields, order is
>> the same as in your query.
> 
> What if my query is "SELECT * FROM ..."?
> 
> In that case what ordering would the fields be in?


Strictly speaking, the order of the fields in a relational database aren't 
significant and one shouldn't rely on their order when using wildcards. 
However, in practice the order of the returned fields is (always?) the same as 
the order they were initially created.

Using wildcards is normally discouraged since your code might not survive a 
change in the database schema.

Erik

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to