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

BCP Issue

Status
Not open for further replies.

Jengo

Programmer
Apr 17, 2000
100
US
I am importing data into a database from a flat file using BCP with a format file. I have to use BCP for the process. The file has a couple of columns that are CRLF delimited with a blank line between rows. In some records the last column was dropped off and isn't there (an example below. I do not know how to make it skip that column if it is not in the file. Help!

Example:

1
Mike
Thomas
Male

2
Terry
High
Female

3
Rob
Miller

4
Steve
Jobs
Male
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top