‎2008 Feb 03 8:07 PM
Hi,
Same select query behaves different way on development and quality server
on Development it returns unsorted and Quality returns sorted
it can be resolved by SORT but why does it behave differently
Do you know what is setting in database
thanks
‎2008 Feb 07 4:21 PM
From F1 on SELECT:
Orders the records in a SELECT statement. Without the ORDER-BY clause, the order
in which the selected lines are supplied is undefined. This means that two similar SELECT
statements may produce lines in a different order.
Rob
‎2008 Feb 04 1:23 AM
Can you please tell on what table you getting the sorted result.
‎2008 Feb 07 12:38 PM
‎2008 Feb 07 12:40 PM
Hi,
You need to explicitly handle in your ABAP code, nothing to do with database.
Thanks,
Sriram Ponna.
‎2008 Feb 07 4:21 PM
From F1 on SELECT:
Orders the records in a SELECT statement. Without the ORDER-BY clause, the order
in which the selected lines are supplied is undefined. This means that two similar SELECT
statements may produce lines in a different order.
Rob
‎2008 Feb 08 3:00 PM
Thanks . Does ORDER BY clause is a part of database default setting if yes where ?
(same SELECT statement without ORDER BY clause fetches same records but in different order in both server)
‎2008 Feb 08 3:08 PM
I don't use the ORDER BY option. I think it's better to have the application do it. I don't know of any way to make it automatic.
Rob