Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using Date Mask on ET Make No Rows Returned

0 views
Skip to first unread message

Resant

unread,
Jun 6, 2006, 12:33:55 AM6/6/06
to
Hi all,

I'm trying to use external table in Oracle 9i. One of my field is in
date datatype, so I use date mask to create the external tables, it
works ok, no error but when I select the table it return no rows.
Below is my script :

CREATE TABLE EXT_TABLES
(
A VARCHAR2(50 BYTE) ,
B NUMBER ,
C VARCHAR2(7 BYTE) ,
D VARCHAR2(10 BYTE),
E VARCHAR2(20 BYTE),
F DATE,
)
ORGANIZATION EXTERNAL
(
TYPE ORACLE_LOADER
DEFAULT DIRECTORY EXT_TABLES
ACCESS PARAMETERS
(
RECORDS DELIMITED BY NEWLINE
FIELDS TERMINATED BY ','
MISSING FIELD VALUES ARE NULL
(
A ,
B ,
C ,
D ,
E ,
F DATE "DD/MM/YYYY"
)
)
LOCATION ('data.csv')
)
REJECT LIMIT UNLIMITED;

Is there something I've missed? Please help me, thank you

Regards,

Resant

Sybrand Bakker

unread,
Jun 6, 2006, 4:04:25 AM6/6/06
to
On 5 Jun 2006 21:33:55 -0700, "Resant" <resa...@yahoo.com> wrote:

>Is there something I've missed? Please help me, thank you

Looking in .log, .bad and .dsc files, I guess

--
Sybrand Bakker, Senior Oracle DBA

Resant

unread,
Jun 6, 2006, 4:39:50 AM6/6/06
to
Solved with NoLogFile options in Records clause

0 new messages