check variable is empty sql code example Example: sql check for null and empty string IF ISNULL(@param) OR @param = '' THEN doSomething...