happy new year, my first question on this website , help please
I have a table called dbo.Person it has a column called Person_NCID , this is a nullable column but I want to create a unique constraint on not null values. when I create a uniqe constraint now it returns an error as I have more than one null value in the column. should I use a user-defined function to create a unique constraint?