Skip to Main Content

Database Software

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!

how to load csv file into external table

user8167598Apr 25 2015 — edited Apr 26 2015

I am using oracle 11g xe edition.

probably school boy error but i cant' see it

Error at Command Line : 21 Column : 12

Error report -

SQL Error: ORA-00906: missing left parenthesis

create table rgc_ext

(

  forename  VARCHAR2(20),

  surname vARCHAR2(20)

)

ORGANIZATION EXTERNAL

(

  TYPE ORACLE_LOADER

  DEFAULT DIRECTORY rgc

  ACCESS PARAMETERS

  (

    RECORDS DELIMITED BY NEWLINE

    FIELDS

    (

      forename  VARCHAR2(20),

      surname vARCHAR2(20),

      dob   sate

    )

 

  )

  LOCATION 'info.csv'

);

This post has been answered by Sanjay Desai EBS on Apr 25 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2015
Added on Apr 25 2015
4 comments
1,548 views