Tiene una verificación de valor en SQL
if (@name is null or @value = '') //it will indicate whether it contains a value or not
Shy Seal
if (@name is null or @value = '') //it will indicate whether it contains a value or not