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
Explain constraining triggers.
How do you store pictures in a database?
How to define a variable to match a table column data type?
How can you use check constraints for self referential integrity?
What is redo log?
how to convert .db (extention) database file into .dmp (extention ) for oracle database ?
What is a nested table and how is it different from a normal table?
What is difference between sid and service name in oracle?
What is an oracle recycle bin?
How to create a testing table in oracle?
How to list all indexes in your schema?
How to use in conditions in oracle?
What happens if recursive calls get out of control?
What are the various types of snapshots ?
What do you mean by a database transaction & what all tcl statements are available in oracle?