Keep It Simple, Stupid | |
PerlMonks |
Re^4: Testing if an array contains a value and then deleting it in most efficient wayby mpeppler (Vicar) |
on Feb 19, 2008 at 11:03 UTC ( [id://668774]=note: print w/replies, xml ) | Need Help?? |
Even more of a side note - one should never rely on the inherent ordering of data in a SQL database. Any ordering is a side effect of the storage mechanism, and can change (for example due to parallel query engines). Always use an ORDER BY clause if the order of the returned data is significant in any way! Michael PS - for Sybase it's not only ASE 15.0.x that has this behavior - it's any table that has row-level locking (DOL), or if you have partitioned tables, or if you use parallel queries.
In Section
Seekers of Perl Wisdom
|
|