Re: Violation of primary key
From: Dan Guzman (guzmanda_at_nospam-online.sbcglobal.net)
Date: 10/30/04
- Next message: Mike Epprecht \(SQL MVP\): "Re: Assistance creating my first trigger"
- Previous message: kitty: "Violation of primary key"
- In reply to: kitty: "Violation of primary key"
- Next in thread: kitty: "Re: Violation of primary key"
- Reply: kitty: "Re: Violation of primary key"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 30 Oct 2004 16:08:27 -0500
I can't think of an accidental server or database setting change that would
cause this error to suddenly appear.
Did you make any design changes to your 'keycode' table (primary key)? If
not, this is probably a legitimate error due to attempting an insert of
duplicate data (same primary key) into the table.
-- Hope this helps. Dan Guzman SQL Server MVP "kitty" <kitty@discussions.microsoft.com> wrote in message news:861F5472-F042-484F-99F2-553A880CD019@microsoft.com... > [Microsoft]]ddbc sql server driver][sql driver] violation of primary key > constraint 'aaaaakeycode.pk'. cannot insert duplicate key in object > 'keycode'(#2627)[Microsoft]]ddbc sql server driver][sql driver] The > statement > terminated.(#3621) > > Please help me, I am a newby and I was looking at the settings in my sql > database and when i exited out I must have changed something because I am > getting the eror above. I checked the settings but nothing seems > different. > Please help me. Where should I look first? Second? > > Thanks > > Celia
- Next message: Mike Epprecht \(SQL MVP\): "Re: Assistance creating my first trigger"
- Previous message: kitty: "Violation of primary key"
- In reply to: kitty: "Violation of primary key"
- Next in thread: kitty: "Re: Violation of primary key"
- Reply: kitty: "Re: Violation of primary key"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|