Report question

Question: SQL Stored Procedure: If variable is not null, update statement