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

DTS from ASCII to table with identity column

Status
Not open for further replies.

balves

Programmer
Oct 24, 2000
983
US
I'm trying to use DTS to import an ASCII, comma-delimited file. The destination table in SQL Server 7 has a primary key, Record_Id, which is an identity column. The DTS import fails. I have mapped the Record_Id field as "Ignore" and the checkbox for "Enable Identity Insert" is checked.

If I create another SQL table without the Record_Id field, the DTS import works just fine. Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / Crystal / SQLServer
 
I solved the problem by turning OFF the checkbox "Enable Identity Insert" and not messing with the Source/Destination transformation code on the Column Mappings and Transformations window of the DTS wizard. Brian J. Alves
Email: brian.alves@worldnet.att.net
VB / Crystal / SQLServer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top