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 |
How to call a stored function with parameters?
i have a table and it has constraints and i want to get "ALTER TABLE table_name ADD CONSTRAINT constraint_name constraint type" this code must be in string type please help me if you want, i can give more explainings
How many categories of data types?
How to invoke the original export import utilities?
What to do if the startbd.bat failed to start the xe instance?
what is the use of ondelete cascade?
How to delete a column in an existing table?
How can I combine multiple rows into a comma-delimited list in oracle?
find out the third highest salary?
92 Answers CIPL, Cyber Shot, HCL, Hewitt, IBM, JPMorgan Chase, Orion, Verizon,
select * from emp what happened internally when we write this query in the sql prompt?
How do I manually create a database in oracle?
What is Virtual Private Database in Oracle?