Quantcast
Channel: Unique index on computed column when contributing columns are already unique - Database Administrators Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Paul White for Unique index on computed column when contributing...

It's a trade-off only you can really decide on.You'll already have a Split-Sort-Collapse operator combination added to any plans that update Discount or CodeNumber to avoid false transient unique key...

View Article


Unique index on computed column when contributing columns are already unique

I have a table like this:CREATE TABLE dbo.DiscountBarcodeList( ID int NOT NULL IDENTITY CONSTRAINT PK_DiscountBarcodeList PRIMARY KEY CLUSTERED, Discount int NOT NULL CONSTRAINT...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images