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 are the components of physical database structure in the Oracle database?
Can we insert data in view oracle?
How to select an oracle system id (sid)?
What is a sub query? Describe its types?
how can db_files > maxdatafiles since db_files is for instance and the later is for database
What is the difference between postgresql and oracle?
select to_char('10','10') from dual This gives me an error oRA-1481 INVALID NUMBER FORMAT MODEL why? pls help
What is the effect of setting the value "CHOOSE" for OPTIMIZER_GOAL, parameter of the ALTER SESSION Command ?
How to turn on or off recycle bin for the session?
What is a read write transaction in oracle?
Why do you create or replace procedures rather that drop and recreate.
What is the difference between view and materialized view in Oracle?