SQL (MS) - Custom compare for Null=Value on many columns -
i have table 50 columns of identifying information inconsistently filled out, same individual. sadly, individuals not have unique identifier in system.
for example, times may capture person's middle name, preferred name, , null - same individual.
simplest solution think of custom compare function takes (null,value) , returns true, i'm not sure how implement this, or if it's wise.
ideally link records lag on partition, there frustratingly little information on how partition works other takes 'value expression'. have tested can accept multiple comma separated columns, occurrence of null values causes miss matches.
Comments
Post a Comment