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