Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

importing excel data into oracle tables

Status
Not open for further replies.

ovishvesh

Programmer
Jun 20, 2001
4
US
Hi,
I have a big excel sheet with data which I need to get into a table in oracle. Is there any tool to do that ? I can't manually do the data entry for it is too large. I welcome any suggestions.
 
If you don't want a direct insert this method will take you two steps. Use Excel to export the data in a flat file then you can use SQLLoader to load the data into Oracle.

JB
 
jballum,
What do you mean by directly 'inserting'? And how can i 'export' data from excel to a flat file ? Sorry, I am only a novice. If you have time please let me know
 
By a direct insert he means taking the data in the spreadsheet and building many INSERT INTO statements to add the data to the database.

When he said "export" the data, he simply meant save it as another file type, other than Excel. Save the excel spreadsheet as a delimted text file. I suggest using a pipe symbol (|) as a delimter because you are very unlikely to have pipes in the data itself.

Once you have the pipe delimted text file, use SQL*Loader to load the data into Oracle.

The SQL*Loader manual page can be found here:
You will need to sign up for Oracle Technet (it is free) to access that document.
 
Swany, how did you know what I meant? haha

Good luck ovishvesh.

JB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top