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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQLImport query

Status
Not open for further replies.

minckle

Programmer
Mar 17, 2004
142
GB
Im trying to write a small app that enables a user 2 import a file into mysql.

Some of the txt files have column heading, is there in the MySQLImport fuinction to ignore this 1st line of the txt file (i.e the Headings line)

Thanks
 
Execute mysqlimport command with --ignore-lines=n option, where n is lines you want to ignore starting from first line.


--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top