Memiliki nilai cek di SQL

if (@name is null or @value = '') //it will indicate whether it contains a value or not
Shy Seal