AllExperts > Oracle 
Search      
Oracle
Volunteer
Answers to thousands of questions
 Home · More Oracle Questions · Answer Library  · Encyclopedia ·
More Oracle Answers
Question Library

Ask a question about Oracle
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Suchitra Joshi
Expertise
I can answer questions regarding SQL, PL/SQL, Procedures, Functions, Triggers, SQL Loader, Oracle Forms, Oracle Reports, and some basic dba and performance tuning activities.

Experience
15+ years of Oracle PL/SQL Development

Education/Credentials
B.Sc (Electronics), Diploma in Computer Applications (DCA)

Awards and Honors
OCP - SQL and PL/SQL
Brainbench certifications in Oracle Administration, PL/SQL, Developer 2000

 
   

You are here:  Experts > Computing/Technology > Oracle > Oracle > data transfer from CSV file to database.

Oracle - data transfer from CSV file to database.


Expert: Suchitra Joshi - 6/6/2009

Question
QUESTION: Hello Ma'am,
I want to transfer the data stored in CSV(comma seperated value) file to Oracle Database table.
Can you guide me how to do this???

ANSWER: Hi Shalabh,

You can do this by using sql loader. Please find detailed info at the following site -

http://www.orafaq.com/wiki/SQL*Loader_FAQ

Hope this helps.

Regards

Suchitra

---------- FOLLOW-UP ----------

QUESTION: Thank you ma'am for the suggestion but I have to write my own code that parses the CSV file and generate INSERT statements to load into the Oracle database.
can you help???

Answer
Hi Shalabh,

I am not understanding exactly what you want. If you want to create an sql file with insert statements (without validating data) for all these rows, you can do it through vi editor in unix. If this is what you require, please let me know so that I can help further.

If you want to read and parse the CSV file using PL/SQL, please send me in detail how you want the program to execute.

Regards

Suchitra

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.