Skip to Main Content

Oracle Database Discussions

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!

SQLDR control file : How to use VARCHAR data type

546485Nov 16 2006 — edited Nov 17 2006
Hi,

How to use VARCHAR in an sqlldr control file to load a varchar data type.

The sqlldr documentation says that VARCHAR is a datatype supported by sqlldr.

But could not load data using VARCHAR datatype.

LOAD DATA
INFILE Test.dat
APPEND INTO TABLE VARTEST
FIELDS TERMINATED BY ','
(Col1 VARCHAR(10))

I could load data in sqlldr using the CHAR datatype in the control file
as well as by leaving the datatype blank (default).

The Oracle version used is 10g.

Thanks in advance.

----
Abraham V K
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2006
Added on Nov 16 2006
3 comments
2,222 views