Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to convert ms-excel file to oracle table?

Answer Posted / arup ratan banerjee

By means of Sqlloader

steps
------
1) Save the excel file as .csv
2) Give proper column headings
3) create a file named sqlload.ctl where u will write

load data
infile 'C:\HR_EMP_LWP_TMP.csv'
REPLACE
into table HR_EMP_LWP_TMP
fields terminated by ','
(emp_NO,yr_mon,lwp)

4) Load Oracle Client 9i

From command prompt run

c:\oracle_client9i\bin\sqlldr <user/password@tnsname>
sqlload1.ctl

5) The excel file gets converted to Table in Oracle

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to sort the rows in sql.

1002


What is a sql instance vs database?

1033


How do I copy a table in sql?

924


How subquery works in sql?

992


how to dump a table to a file with 'mysqldump'? : Sql dba

981


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

1121


Do stored procedures prevent sql injection?

914


What is difference between ms sql and mysql?

909


How to download oracle sql developer?

1053


what is the difference between inner and outer join? Explain with example. : Sql dba

970


What is difference between nchar and nvarchar?

953


What is varray in pl sql?

1002


What is rtm in testing?

1037


Can ddl statements be used in pl/sql?

1065


Why cross join is used?

1020