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

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Loader Control file

Re: SQL Loader Control file

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: Thu, 28 Aug 2003 19:28:58 -0400
Message-ID: <3301002.1062113338@dbforums.com>

Originally posted by starigopula

> Hi,

>

> Is there a way we can specify multiple delimiter in the FIELDS
> TERMINATED BY Clause?

>

> Here is a sample control file..... The data to load may be delimieted
> either with a | or , or ?

>

> Thanks in advance.........

>

> CTL File

> -----------

>

> LOAD DATA

> INFILE 'datafile.dat'

> INTO TABLE test_table_name

> APPEND

> FIELDS TERMINATED BY ','

> (

> COL1 INTEGER EXTERNAL,

> COL2 INTEGER EXTERNAL,

> COL3 ...
No. More importantly, what would be the purpose of specifying multiple kinds of delimiters in a delimited file?

Keep it simple... just use "Edit - Replace" in your notepad and replace all delimiters to one kind.

Regards

/Rauf

--
Posted via http://dbforums.com
Received on Thu Aug 28 2003 - 18:28:58 CDT

Original text of this message

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