GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  Database
Go To First  |  Previous Question  |  Next Question 
 Database  |  Question 34 of 117    Print  
Hi I want to upload a csv file and insert the data from the csv file into the database can any one help me on this?

  
Total Answers and Comments: 4 Last Update: July 28, 2008     Asked by: vamshijk 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 12, 2006 05:30:28   #1  
Anand        

RE: Hi I want to upload a csv file and insert the data...

You can use the sql loader for upload the csv file into your database tables.


 
Is this answer useful? Yes | No
February 21, 2007 01:04:46   #2  
Sanjay Chauhan        

RE: Hi I want to upload a csv file and insert the data...

use the sql loader for upload csv file into database

Steps how to load?
1. create control file in notpad like

load data
infile 'path of csv file'
insert/append into file file_name
fields terminated by ' ,'
optionally enclosed by ' " '
trailing nullcols
(col1,col2,col3,.......)

2. Save this control with .ctl extension

3 Goto command prompt and run the query like

c:> sqlldr userid=apps/apps control =(path of ur control file with .ctl extension)


 
Is this answer useful? Yes | No
March 30, 2007 19:16:14   #3  
Chiranjeevi Manne        

RE: Hi I want to upload a csv file and insert the data...
Why don't you use SQL Loader, it is real fast and easiest way of loading the data in oracle from flat files.
 
Is this answer useful? Yes | No
July 28, 2008 04:48:43   #4  
gtomar Member Since: July 2008   Contribution: 9    

RE: Hi I want to upload a csv file and insert the data from the csv file into the database can any one help me on this?
Hi,

If you are using toad then you need to follow steps given below :-

1. login to toad .

2.Go to DBA < Data import/export < Sql data wizzard
<Choose .csv file  (Browse from the saved location)
< Finish

3. upload data into desired table .

Thanks,
Gunjan

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape