Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: using a sequnce with SQL*loader
You can use the following in the control file
col_name sequence (start_no, increment).
you can use either count(no. of rows existing inthe table plus increment) or max(max number plus increment) instead of start_no above...
-----Original Message-----
From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Ajay K
Sent: Monday, October 16, 2000 5:51 PM
To: Multiple recipients of list ORACLE-L
Subject: Re: using a sequnce with SQL*loader
Yes I did found the solution for that but can recall it now.There is a way u can generate sequence no in sql*loader.
ajay
> Will the lister who asked the question about using a sequence to load a
> column when using sqlldr please send me the answer. I now am faced with
the
> same task and I must admit it didn't interest me when it was asked. I
> should have know....
>
> Thanks;Ruth B. Gramolini
> ORACLE & DB2 DBA
> VT Dept. of Taxes
> ph# 802.828.5708
> fax# 802.828..3754
> rgramolini_at_tax.state.vt.us
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ruth Gramolini
> INET: rgramolini_at_tax.state.vt.us
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ajay K INET: ajay_at_tems.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Oct 16 2000 - 19:37:47 CDT
![]() |
![]() |