We got bit by this when moving from MSSQL 2000 to MSSQL 2005.  MSSQL
returned rows by default in PK order and one of our former developers
depended on this so when the behavior changed in MSSQL 2005 (which is fine
'cause it wasn't documented or expected behavior) our app broke in
unexpected ways.  

With any db it's always best to specify an ORDER BY if you care about the
order.

Sam 

-------------------------------------------
We're Hiring! Seeking a passionate developer to join our team building
products. Position is in the Washington D.C. metro area. If interested
contact [EMAIL PROTECTED]
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 11:18 AM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Insert order maintained?


> I know this is the behavior for MySQL, but not sure about SQLite.

I'v heard about some version of mysql that didn't return rows in the same 
order (but haven't seen it myselt). So unless this behaviour is documented 
in mysql manual, it's not a good idea to rely on this. Actually I'v seen 
only 1 database that allways returns rows in random order, but it doesn't 
mean that other databases guarantee anything.

----------------------------------------------------------------------
Jak bedzie wygladac koniec swiata? >>> 
Zobacz >>> http://link.interia.pl/f1a38


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to