On May 5, 2009, at 2:06 PM, Matt Jarvis wrote:
> When a query is run against a table, are the records, by default,
> returned in natural order?
There is no concept of "natural order" in relational databases,
either in rows or columns. A particular implementation might rely on a
particular ordering by default, but you should never program with that
assumption.
If you want results ordered by PK, then add that order by expression.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.