• GilaMonster (9/22/2014)


    In this case no assumption was needed, since the OP said

    Field from table1 is primary key

    It's currently the PK (perhaps). Just in case, I'd write the code so that NULLs can never cause a bad query result in the future.

    SQL DBA,SQL Server MVP(07, 08, 09) A socialist is someone who will give you the shirt off *someone else's* back.