What's a good use for a UNIQUE filtered index?Commented on: 2 years ago
(November 17, 2011)
I've used them in a manner similar to Rafi, where a given entity has multiple attributes, only one of which can be active (IsActive = 1) at a time. In the past we used a trigger to enforce this...
Digital Magazine Archives
Browse back issues of SQL Server Pro, from January 2007 through the last issue published in April 2014. Find the back issues here.