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 the truncate in oracle?
How a database is related to tablespaces?
What is an oracle recycle bin?
How do I learn what codesets are available in oracle?
What is meant by joins?
What are the differences between lov and list item?
How to convert a string to a date in oracle database?
How to get a list of all user accounts in the database?
Does facebook use oracle?
What is the fastest query method to fetch data from the table?
How to do paging with oracle?
interview questions with answer for cts
Explain the use of control file?
Respected sir, Please send me technical questions related to oracle apps..
State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.