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!

Importing CSV file into oracle using pl/sql - sql loader 3.1

954719Aug 10 2012 — edited Aug 10 2012
Hi,

I am trying to learn how to import a CSV file into an oracle table. I tried the import utility in SQL Loader but it generates specific lines of code to import each row. I would want a loop to go through the CSV file stored on my local drive and have it uploaded to my table.

I have tried the following but no luck
LOAD DATA
INFILE 'sample_csv.csv'
INTO TABLE TEST
FIELDS TERMINATED BY ","
;
This post has been answered by sb92075 on Aug 10 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2012
Added on Aug 10 2012
10 comments
49,873 views