Counter while loading via SQL Loader [message #323170] |
Tue, 27 May 2008 09:32 |
@rpita
Messages: 7 Registered: February 2008 Location: Mumbai,India
|
Junior Member |
|
|
Hi,
Is it possible while loading data via SQL Loader, we can somehow introuduce logic in the control file, that will load a counter on a column that keeps on incrementing as each record loads.
We need the load sequence of the flat file and dont want to rely on the rowid.
Thanks.
Arpita
|
|
|
|
Re: Counter while loading via SQL Loader [message #323177 is a reply to message #323173] |
Tue, 27 May 2008 10:21 |
@rpita
Messages: 7 Registered: February 2008 Location: Mumbai,India
|
Junior Member |
|
|
Hey thanks.
We were planning to work with the RECNUM option as we dont want to maintain the sequence, but restart the counter from 1 everytime the SQL Loader runs(per requirement, we just want the sequence of one lot of records loaded, not across lots)
|
|
|