M
Michael Jackson
Using .NET 2003, 1.1, SQL Server 2000 sp3a, I get the following error when
looping thru a listview and inserting the rows into a sql table with the ID
field as IDENTITY(1,1).
System.Data.ConstraintException: Column 'StoreID' is constrained to be
unique. Value '1' is already present.
However, if I change the column to IDENTITY(10000, 1), I get no error.
Any ideas what's wrong here?
looping thru a listview and inserting the rows into a sql table with the ID
field as IDENTITY(1,1).
System.Data.ConstraintException: Column 'StoreID' is constrained to be
unique. Value '1' is already present.
However, if I change the column to IDENTITY(10000, 1), I get no error.
Any ideas what's wrong here?