You can choose to ignore an SQL error that occurs in a query statement. Enable
Continue on SQL Error within a Row
. The Data Integration Service continues to run the rest of the SQL statements for the row.
The Data Integration Service does not generate a row error. However, the SQLError port contains the failed SQL statement and error messages.
For example, a query might have the following statements:
DELETE FROM Persons WHERE FirstName = ‘Ed’;
INSERT INTO Persons (LastName, Address) VALUES ('Gein', '38 Beach Rd')
If the DELETE statement fails, the SQL transformation returns an error message from the database. The Data Integration Service continues processing the INSERT statement.
Disable the
Continue on SQL Error
option to troubleshoot database errors and to associate errors with the query statements that caused the errors.