The type of the first argument to NULLIF cannot be the NULL constant because the type of the first argument has to be known. ...