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 |
Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?
What is the data type of dual table?
I have created one package with out procedures in package specification and in package body i have used 2 procedures. is it compile????
What is the max number of columns in an oracle table?
How to use "if" statements on multiple conditions?
Can we create more than one constraint to column ?
interview questions with answer for cts
How do I start tns listener?
if i have a procedure with 1000 line.when i run this in 61 line i got the error but i want to continue the programe without error.can anyone tell me how to handle that error.
What is truncate oracle?
How to delete a column in an existing table in oracle?
How to select some rows from a table in oracle?