re: SSIS: Custom Logging Using Event Handlers
Asaf,There's no way to get that info I'm afraid. You can catch the number of rows using a rowcount component and multiply that by the width of a row to work out the maximum number of bytes that would...
View Articlere: SSIS: Custom Logging Using Event Handlers
I have read your post with great interest and was wondering if you have a solution for the following to build-in to your logging mechanism: "How could we measure the amount of data in bytes read from...
View ArticleUsing @[System::SourceParentGUID] for custom logging
In my blog entry Custom Logging Using Event Handlers from June 2005 I described an easy technique for
View Articlere: SSIS: Custom Logging Using Event Handlers
This example is great and is very helpful.
View Articlere: SSIS: Custom Logging Using Event Handlers
Charley,Yes there is a limitation. The result of the expression has a maximum lenth of 4000 characters.I don't know of any limitation on the length of an expression (note the subtle difference...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,Thanks a lot for the great solution, it does solve my problem. But I have an issue with the size of the dynamic SQL that's in the expression of SQLStatementSource property for a Execute SQL...
View Articlere: SSIS: Custom Logging Using Event Handlers
DB_guy,Yes, you are going to require multiple outputs. Read...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,Is there a way to redirect failed rows from within the Script task and continue processing the rest of the records without stopping?Thanks
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,Finally the approach worked. For some reason, it is unable to do a Replace on the variable at runtime just before inserting data. The approach consistently failed when I used the Execute SQL...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,In my case, the Replace('') function does not seem to work because the Replace function takes in a 'String' value, however the generated text from the @[System::ErrorDescription] is not being...
View Articlere: SSIS: Custom Logging Using Event Handlers
Subah,"I was looking at the double apostrophes option, however that was not of much help since I am unable to manipulate the text coming out of the description. "Not sure I understand. You're inserting...
View Articlere: SSIS: Custom Logging Using Event Handlers
Just to add, the problem I am facing is that I am not able to represent the text coming out of the errorDescription as a 'proper' string which prevents me from using any string operations.Thanks.
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,Thanks for the quick response. I was looking at the double apostrophes option, however that was not of much help since I am unable to manipulate the text coming out of the description. On the...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Subah,Yeah, I've come across this problem in the past but can't quite remember how I solved it. I think I just used the REPLACE function to either strip out all the apostrophes or replace them with...
View Articlere: SSIS: Custom Logging Using Event Handlers
Hello,Thanks for the informative blog. I was able to successfully implement logging in my project with the exception of one glitch on the 'OnError' event. One of my tasks executes a statement like -...
View Articlere: SSIS: Custom Logging Using Event Handlers
hi, ur original blog was very informative but when i tried it i am getting a syntax error when i execute the SQL Execute task. i have created a small table with columsn for error description and error...
View Articlere: SSIS: Custom Logging Using Event Handlers
Jamie,I finally found a way to do what I need.Thanks to J. Welch and his blog (http://agilebi.com/cs/blogs/jwelch/archive/2008/01/15/handling-multiple-errors-in-ssis-revisited.aspx).I found that when...
View Articlere: SSIS: Custom Logging Using Event Handlers
Snif ;-)I'll temporarly hard code the error code passed to my sp for pakage success or failure.But I still keep in mind to do it dynamically and let you know if I find how.Bertrand
View Articlere: SSIS: Custom Logging Using Event Handlers
Bertrand,Sorry, that one's a mystery to me. If you find anything out please reply and let me know.-Jamie
View Articlere: SSIS: Custom Logging Using Event Handlers
Hi Jamie,I've got an issue concerning ErrorCode/ErrorDescription ...For example when my package end with success the ErrorCode returned at the OnInformation event handler level is :0x4001100B...
View Article