unknown
2010-09-04 06:23:25 UTC
Hi!
By results of small database competition in one blog was
born my question.
SA10/SA12
QUERY: select rand() as a from some_table order by a;
generate dataset filled by random values, but this resultset
not sorted.
Tha same query in oracle, postgresql and mysql produce
sorted resultset - they win competition.
MSSQL even can't generate resultset with one constant random
value :)
Is it possible to get correct sorted by random value
resultset from sa?
THANKS!
By results of small database competition in one blog was
born my question.
SA10/SA12
QUERY: select rand() as a from some_table order by a;
generate dataset filled by random values, but this resultset
not sorted.
Tha same query in oracle, postgresql and mysql produce
sorted resultset - they win competition.
MSSQL even can't generate resultset with one constant random
value :)
Is it possible to get correct sorted by random value
resultset from sa?
THANKS!