Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: SQL LOADER

Re: SQL LOADER

From: Sundar <sundar_at_focusite.com>
Date: Wed, 19 Dec 2001 21:05:27 -0800
Message-ID: <F001.003E0E07.20011219202021@fatcity.com>

Hi,

I am trying to assign a default value for a column from my sequence and i am unable to do that. How do you give it in the control file?

Thanks in advance.

Regards
Sundar

Mercadante, Thomas F wrote:

>IA,
>
>like this:
>
>( col1 char ,
> col_seq "test_seq.nextval"
>)
>
>where test_seq is a sequence....
>
>HTH
>
>Tom Mercadante
>Oracle Certified Professional
>
>
>-----Original Message-----
>Sent: Wednesday, December 19, 2001 6:50 AM
>To: Multiple recipients of list ORACLE-L
>
>
>using sql loader it is possible to populate fields with a sequnce e.g
>INTO TABLE dept
>(deptno sequence(2, 3),
>
>but i want to use my own sequence , i.e my_seq.nextval
>
>how is this done?
>
>reagards
>IA
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Sundar
  INET: sundar_at_focusite.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 Wed Dec 19 2001 - 23:05:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US