i have a tableCREATE TABLE [dbo].[Dyn_Acc2Email]( [id] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL, [AccRef] [int] NOT NULL, [email] [nvarchar](200) NOT NULL, CONSTRAINT [PK_Dyn_AccEmails] PRIMARY KEY CLUSTERED ( [AccRef] ASC)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]) ON [PRIMARY]
and i get an error :quote:
Violation of PRIMARY KEY constraint 'PK_Dyn_AccEmails'. Cannot insert duplicate key in object 'dbo.Dyn_Acc2Email'.