SQL IF NULL, to ciąg
COALESCE(column, 'Unknown')
Daschi
COALESCE(column, 'Unknown')
IF ISNULL(@param) OR @param = '' THEN doSomething...