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
Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?
Explain the use of consistent option in exp command.
Can the query output be sorted by multiple columns in oracle?
How to declare a local variable?
List the various oracle database objects?
How can I see all tables in oracle?
Is it possible to insert comments into sql statements return in the data model editor ?
What is ordinary table in oracle?
Why is oracle used?
Why does oracle 9i treat an empty string as null?
How to run create database statement?
How to create a new table in oracle?
Explain integrity constraint?
how to clone 9i Database on to 10g Database.
How to create an oracle testing table?