passing NULLs as literals, not as nvarchars, nvarchar null fails when passed to binary field with error message: Implicit conversion from data type nvarchar to varbinary(max) is not allowed. Use the CONVERT function to run this query.