Solution
This error appears when 1 or more columns in the SQL dataset contain
NULL values. To avoid this error, the
NULL values should either be removed from the dataset or replaced with default values when selecting them in value, such as below for numeric values:
SELECT ISNULL(myColumn, 0 ) as myColumn FROM myTable