Re: cannot insert duplicate key in object dbo.SY07240
Hi Frank,
This table exist in my TWO DB and contains actually 92 rows. Basically there are only two fields : ITEMNMBR and RCTSEQNM...
Maybe just re-create it from another company or use the script below :
USE [TWO]
GO
/****** Object: Table [dbo].[IV10202] Script Date: 08/23/2011 11:40:27 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING OFF
GO
CREATE TABLE [dbo].[IV10202](
[ITEMNMBR] [char](31) NOT NULL,
[RCTSEQNM] [int] NOT NULL,
[DEX_ROW_ID] [int] IDENTITY(1,1) NOT NULL,
CONSTRAINT [PKIV10202] PRIMARY KEY NONCLUSTERED
(
[ITEMNMBR] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO