Re: Sybase module -- input sought

Guido.van.Rossum@cwi.nl
Tue, 10 May 1994 09:54:50 +0200

I don't know sybase, but in most databases the order of the columns
is important as well. Python dictionaries don't preserve the order
of the keys (they are in a random order determined by the hash function
used for lookup). Presuming people will be getting many different
rows from the same database, the most efficient thing to do would bne
to return just a tuple containing the row's values, with a special call
to return a tuple containing the column names.

--Guido