Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Default sorting order used by oracle

710767Jul 8 2009 — edited Jul 8 2009
Can anyone please let me know whether oracle uses any default sort order or not when executing an sql which does not have any sort order/ order by clause?
I have a sql query where no sort order is specified.
Now if I add some more columns in the select clause and execute the same query, the number of records returned are same and also the records are same.
But the order in which they are displayed is different from the previous query.

Could anyone please let me know whether oracle uses any default sort order or not when executing an sql which does not have any sort order/ order by clause
or does it depend on the columns of the table?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2009
Added on Jul 8 2009
6 comments
18,295 views