So, you add multiple data rows into table with UNIQUE index on some field but when you add the duplicates into that field the routine is stopped.
How to make the insert skip those values?
Create the index in this way:
CREATE INDEX NotAllowed
ON Dest (Value)
WITH(IGNORE_DUP_KEY = ON);
go
вівторок, 17 листопада 2009 р.
Підписатися на:
Дописати коментарі (Atom)
Немає коментарів:
Дописати коментар