Skip to Main Content

Database Software

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!

SQLLoader Line Number

1878432Aug 18 2015 — edited Aug 19 2015

Hi,

I have a requirement to load huge number of data files using SQL Loader. My requirement is to load the records sequentially with line number which can be achieved using Oracle Sequence object.

But I want to start the sequence with 1 every time I start with new file. Bit of research suggests 2 options to achieve this:

  • Dropping & Re-Creating Sequence
  • Alter Sequence and set it to 1

Since this is ongoing process, am not sure if above two options have impact on DB.

Experts, Is there any better way to achieve this?

Thanks & Regards,

Manohar

This post has been answered by John Stegeman on Aug 18 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2015
Added on Aug 18 2015
3 comments
1,915 views