SQL SERVER PRIMARY-KEY WITH IGNORE-DUP-KEY

علی ذوالفقار
1399/03/01 20:45:47 (869)

ALTER TABLE [SCHEMA].[TABLE_NAME]
  ADD CONSTRAINT PK_NAME  
  PRIMARY KEY (PK_FIELD) WITH ( IGNORE_DUP_KEY = ON )
GO


Back