Quantcast
Channel: SSIS: Custom Logging Using Event Handlers
Viewing all articles
Browse latest Browse all 119

re: SSIS: Custom Logging Using Event Handlers

$
0
0

Jamie - you'll need to escape single quotes in the event description or the TSQL may fail. Probably quite rare, but I have : "SELECT permission denied on object 'tblEmployee', database 'CRMCOMMON', owner 'dbo'." messages which bomb out. Using the following will solve the issue:

REPLACE( @[System::ErrorDescription], "'", "''")

Cheers, Paul


Viewing all articles
Browse latest Browse all 119

Trending Articles