• dawryn (12/20/2012)


    SQLRNNR (12/20/2012)


    I don't disagree with the correct answer. I disagree with the explanation. I also do disagree with many of the complaints thus far about the question. You can most certainly have multiple null values in a unique constraint. Don't constrain yourselves to a narrow scope of a constraint on a single column - where you can have only one null value.

    ...

    Besides, only one occurrence of Nulls in all fields is allowed.

    True only one occurence of null in all fields is allowed. But that is not the question. The question was simply if multiple nulls could be inserted.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events