I want to make sure I\'m not inserting a duplicate row into my table (e.g. only primary key different). All my fields allow NULLS as I\'ve decided null to mean \"all values
Along the same lines as @Eric's answer, but without using a 'NULL' symbol.
'NULL'
(Field1 = Field2) OR (ISNULL(Field1, Field2) IS NULL)
This will be true only if both values are non-NULL, and equal each other, or both values are NULL
non-NULL
NULL