Avatar of Tyecom
TyecomFlag for United States of America

asked on 

Problem Importing Data To Database Using SSIS

I have several DTS packages that I am recreating using SSIS.  The source file is a flat file on a remote server.  The destination is into an existing database table.  This table has data in it already and I will be appending the new data to the existing data.  However, the following error occurs:

"The statement has been terminated.". An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server"  Hresult: 0x80004005  Description: "Violation of PRIMARY KEY constraint 'C1249703'. Cannot insert duplicate key in object 'CA571L'.".

Can't figure this one out.  Please advise, need to resolve this as soon as possible.  Thank you very much in advance.
Microsoft SQL Server 2008Microsoft SQL Server 2005

Avatar of undefined
Last Comment
Tyecom
ASKER CERTIFIED SOLUTION
Avatar of Molly Fagan
Molly Fagan
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Tyecom
Tyecom
Flag of United States of America image

ASKER

Thank you for responding.  You are correct.  The data was already processed and I had to do some clean before processing them again.  Thank you very much.
Microsoft SQL Server 2005
Microsoft SQL Server 2005

Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.

72K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo