Created
September 7, 2016 21:10
-
-
Save tkMageztik/16bb4b7000278518e44f6ec47f04be75 to your computer and use it in GitHub Desktop.
Para crear un constraint UNIQUE que permita nulos, en su lugar crear un índice NONCLUSTERED. MSSQL 2008+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE UNIQUE NONCLUSTERED INDEX BFIN_BFBMM01_CLIENTES_CUENTAS_02 | |
ON BFBMM01_CLIENTES_CUENTAS(M01_NRO_CTA_IBS) | |
WHERE M01_NRO_CTA_IBS IS NOT NULL | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment