How can one skip any number of rows while loading the DB
tables with SQL Loader? Similarly how can one skip any
column?
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 |
What is concurrency in oracle?
What is Hash Index?
How to write an inner join with the where clause in oracle?
What are the different type of Segments ?
What are the tools for Oracle ?
What are the different pseudo commands? Explain in general?
Give syntax for SQL and ORACLE joins.
What are the types of trigger in oracle?
10. Display the client number, order date and shipping date for all orders where the shipping date is between three and six months after the order date.
Is oracle a language?
How to do a full database export?
20. Using a set operator, display the client number of all clients who have never placed an order.