On Feb 10, 10:05 am, Remo <[email protected]> wrote: > @Thomas > I do have an ORDER BY in my query. But due to equal values, there is > not one single correct order. If the db engine uses stable sorting > algorithms, the rows should be returned in the same order over > multiple runs.
Ah sorry, somehow I didn't see the ORDER BY > up to now assumed that it's a SQL standard to return a consistent ordering. No it's not. The SQL standard does not require a stable sort. If you really need that, you would need to include another column that makes the sort key "unique". Especially if you want to be portable across DBMS -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
