Can't create Primary Key???
From: Rob (Rob_at_discussions.microsoft.com)
Date: 12/29/04
- Next message: Tom Moreau: "Re: "IS NOT NULL" is not working"
- Previous message: Ken: "Re: "IS NOT NULL" is not working"
- Next in thread: Tom Moreau: "Re: Can't create Primary Key???"
- Reply: Tom Moreau: "Re: Can't create Primary Key???"
- Reply: Tom Moreau: "Re: Can't create Primary Key???"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Dec 2004 11:51:03 -0800
Hi Guy's
I've migrated an access DB of ours over to SQL 2000 and when I try to set
the primary key I get the error below. I've checked for and deleted all of
the other indexes so i'm not sure why it says a duplicate was found. I have
some other tables in the Database which I was able to set a primary key on
but this table chokes each time. Help I'm stuck!
'Master' table
- Unable to create index 'PK_Master'.
ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]CREATE UNIQUE
INDEX terminated because a duplicate key was found for index ID 1. Most
significant primary key is 'type 6c, len 9'.
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not create constraint.
See previous errors.
[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been
terminated.
-- Rob IT guy!
- Next message: Tom Moreau: "Re: "IS NOT NULL" is not working"
- Previous message: Ken: "Re: "IS NOT NULL" is not working"
- Next in thread: Tom Moreau: "Re: Can't create Primary Key???"
- Reply: Tom Moreau: "Re: Can't create Primary Key???"
- Reply: Tom Moreau: "Re: Can't create Primary Key???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|