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
How do I manually uninstall oracle client?
How to create additional tablespaces for an new database?
what is the dual table in oracle?
Please explain compound trigger in oracle?
Explain the use of analyse option in exp command.
Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.
How to export your connection information to a file?
Differentiate between function and procedure in oracle.
How to convert a string to a date in oracle database?
What is the Tune Query
What are the differences between blob and clob in oracle?
How to list all user accounts in oracle?
Is oracle an operator?
Can we store pictures in the database and if so, how it can be done?
What is dynamic proxy?