Re: Violation of Primary Key
From: Adam Machanic (amachanic_at_air-worldwide.nospamallowed.com)
Date: 03/02/04
- Next message: Armando: "Re: Violation of Primary Key"
- Previous message: Adi: "Re: SQL Agent Proxy Account"
- In reply to: Jennifer: "Violation of Primary Key"
- Next in thread: Armando: "Re: Violation of Primary Key"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Mar 2004 16:24:21 -0500
Maybe you could post your DML and sample data to reproduce the problem?
Sounds pretty straightforward to me... You're trying to insert a duplicate
row. When you say you "exported" the data, what does that mean? And how is
your primary key defined?
"Jennifer" <jennifer.newhouser@hcahealthcare.com> wrote in message
news:58223BA8-7141-4188-A178-B8BDF33E5A5E@microsoft.com...
> I am using SQL server 2000 and have been trying to import a table after I
exported it and made changes to it. I have also attempted to export the
table and then immediately import the table back to the same table without
making changes and I receive an error that says the following:
>
> Error at Destination for Row number 91. Errors encountered so far in this
task: 1
> The statement has been terminated.
> Violation of PRIMARY KEY constraint 'PK_CUSTOMERS'. Cannot insert duplicat
key in object 'Customers'.
>
> We have updated SQL to the newest Service Pack and still the problem
occurs here is the version info - Microsoft SQL Server 2000 - 8.00.818
(Intel X86) May 31 2003 16:08:15.....
> Does anyone have any ideas because we are all out. Thanks,
- Next message: Armando: "Re: Violation of Primary Key"
- Previous message: Adi: "Re: SQL Agent Proxy Account"
- In reply to: Jennifer: "Violation of Primary Key"
- Next in thread: Armando: "Re: Violation of Primary Key"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|