Default sorting column in table

In this forum Oracle Applications DBA's, System Administrators & Developers can share their knowledge/issues.
Post Reply
adnanak
Posts: 1
Joined: Wed Apr 26, 2006 4:39 am
Location: Pakistan

Default sorting column in table

Post by adnanak »

Hi All,
can we sort the data on the basis of some column while default displaying in table?
e.g if we write the query (select * from emp)
then record set displayed will be sort on some column by default
although we havn't write any order by clause in the query.
can we define such things at table definition level?
How to do it?

I tried my best to explain the question, i don't know it is clear or not [:)]

Regards,
Adnan
admin
Posts: 2063
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

Post by admin »

I have updated the subject of your topic please next time provide meaninful subject instead of just saying Help!!!!. Thanks
kkrause
Posts: 1
Joined: Tue Nov 21, 2006 7:15 pm
Location: USA

Post by kkrause »

by definition, a relational database doesn't store records in any type of order. If you needed this, you'll need to look into using a view, personalizations or maybe create an index-organized table, which I believe you can sort by.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests