Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove the first row of a file 1

Status
Not open for further replies.

LadyDragon

Programmer
Jan 14, 2004
24
0
0
US
Hi! I have another question about file manipulation on unix. I have a Korn shell script which uses sqlloader to load a .csv file. There is a header on the file which I do not want to load. How can I either strip the first line from the file prior to loading, or does sqlloader have a way to specify loading to start on line two?

Thanks!
Juls
 
FYI for others trying the same thing...
I found another way to skip the first row for a file loaded via sql*loader: add the following line prior to the
LOAD DATA line:

Code:
OPTIONS (SKIP=1)
LOAD DATA
...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top