[sql-server] Using UPDATE in stored procedure with optional parameters