Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sorting and loading a table

Status
Not open for further replies.

naushi

ISP
Jan 18, 2002
89
US
If I wanted to sort my table data in primary-key sequence to load into an Oracle table, how do I do this ?
Is there a sort utility available Regards,
Naushi Hussain
Naushi.hussain@honeywell.com
 
Well, you can sort it before loading it, but the question is "what will this buy for you"?
Oracle does not guarantee that your data will be physically stored in the same order you load it.
 
The only benefit might be that you could create your indexes with the nosort option. However, if you're having to sort the data beforehand, there probably isn't much advantage over letting Oracle do the sort.

There is no external sort utility in Oracle, so you would probably have to use an operating system command like UNIX sort.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top