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 to apply filtering criteria at group level in oracle?
What is the Tune Query
How to convert dates to characters in oracle?
What is oracle used for?
How can we delete duplicate rows in a table?
In Oracle Applications We are Using Sub Ledger Accounting. When we Transfer the Data all modules (AP,AR,CE,FA) to SLA We done Some customizations? What are They??
What are the differences between date and timestamp in oracle?
State all possible different index configurations a table can possibly have?
What is a sub query? What are its various types?
Explain a data segment?
Can you have more than one content canvas view attached with a window ?
Can we store images in oracle database?
can u send the sql dumps to sivakumarr1987@gmail.com plz help me
How to view existing locks on the database?
What are the ways tablespaces can be managed and how do they differ?