How can one skip any number of rows while loading the DB
tables with SQL Loader? Similarly how can one skip any
column?
Answer Posted / harikanth
LOAD DATA
INFILE 'Fullalbum.csv'
truncate
INTO TABLE DP_fa
FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
(
field2 FILLER,--for skipping the first column
sno,
performance_ky,
performance_nm,
isrc,
track_media_ky,
song_nm,
full_album,
country_nm,
isrc_country_cd
)
here first column will be skipped.
if you want to skip number of rows do the following
in cmd prompt
enter the commands like...
sqlldr <username>/<password>@<databasename>
cotrol='<location of control file>' skip=n<number of rows
that you want to skip>
Thanks,
Harikanth.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you store pictures in a database?
Explain the difference between sap and oracle?
What is define in oracle?
How do you bind variables in oracle?
What is difference between sid and service name in oracle?
Compare and contrast between sql and sql server and explain its various functions?
1) Does oracle have any table which contain all the exceptions and it's code internally?
What is a synonym? What are its various types?
How to use attributes of the implicit cursor in oracle?
What is the disadvantage of User defind function?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
What is a data dictionary and how can it be created?
Explain the use of compress option in exp command.
What is PL/SQL ?
What is dual table oracle?