How to convert ms-excel file to oracle table?

Answer Posted / ts mishra dba

load data
infile 'c:\head.csv'
replace
into table allotment
field terminated by ',' optianally enclosed by '"'
trailing nullcols
(ALLOTMENT_ID,ALLOTMENT_DATE,DEMAND,MAGOR,SUB,MINOR,SCHEEM,S
EGMENT,OBJECT,DETAIL,AMOUNT,DDO_CODE)


run at run command this
sqlldr scott/tiger@ntts control=c:\head.ctl

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define select, insert, create, delete, update, drop keywords

776


What does select count (*) mean in sql?

731


What is pl sql collection?

688


What is an inner join sql?

693


What is view explain with example?

683






How do I run sql?

824


What is #table in sql?

702


What are triggers and its types?

747


discuss about myisam key cache. : Sql dba

756


Explain raise_application_error.

828


How do I start pl sql?

662


What is exit statement?

739


Is sql better than excel?

692


How to start the command-line sql*plus?

740


what is clause? : Sql dba

757