Devi creare un indice filtrato :
CREATE UNIQUE NONCLUSTERED INDEX User_PinNr_IUC
ON [User] (pinNr)
WHERE pinNr IS NOT NULL
Facendo riferimento a CREA INDEX (Transact-SQL)
Devi creare un indice filtrato :
CREATE UNIQUE NONCLUSTERED INDEX User_PinNr_IUC
ON [User] (pinNr)
WHERE pinNr IS NOT NULL
Facendo riferimento a CREA INDEX (Transact-SQL)