Quantcast
Channel: SSIS: Custom Logging Using Event Handlers
Browsing all 119 articles
Browse latest View live
↧

re: SSIS: Custom Logging Using Event Handlers

John,Assuming you have a list of files you have loaded then this is fairly easy. You will need to use a conditional precedence constraint at some point.-Jamie

View Article


re: SSIS: Custom Logging Using Event Handlers

Yes, I am running this from the EventHandler tab. It is assigned to the Package -- OnInformation. This way I can have a historical log of the processes and their outcomes.Is their a better way to...

View Article


re: SSIS: Custom Logging Using Event Handlers

John,Are you running this in an EventHandler? The reason I ask is that System::ContainerStartTime & System::EventHandlerStartTime always return the same thing from within an event handler.-Jamie

View Article

re: SSIS: Custom Logging Using Event Handlers

this works for me...(the strings required a single tick then a double quote )"INSERT INTO SSISLog(TaskStartTime,SourceFileName,EventType, PackageName, TaskName, EventCode, EventDescription,...

View Article

re: SSIS: Custom Logging Using Event Handlers

I'm getting an error about the length of the error description. I've added a SUBSTRING but it seems to ignore it. Do you have any other ideas?thanksVALUES (?,?, 'OnError', --EventType...

View Article


re: SSIS: Custom Logging Using Event Handlers

John,Its hard to say because you haven't posted the full expression, what you have posted looks fine to me. Could you post the full thing?-Jamie

View Article

re: SSIS: Custom Logging Using Event Handlers

i'm trying to work through your example and can not parse the insert stmt for SqlStatementSource. I can't make it past:"+ [DT_STR, 6, 1252] DATEDIFF( "ss", @[System::StartTime] , GETDATE() ) + ",any...

View Article

re: SSIS: Custom Logging Using Event Handlers

Hi Phil,Not sure about this but if the error is occurring when you try and put stuff into the pipeline then the info that you are after may be available in the error output of the component.-Jamie

View Article


re: SSIS: Custom Logging Using Event Handlers

I like the structure of your logging solution.  I'm trying to find a way to get detailed logging information for an error that occurs within a script component.  I'm using a script component to build a...

View Article


SSIS Nugget: Verify a data source before using it

As some of you may know I've been writing about SSIS on this blog for a lon-n-n-n-n-g time now. Too long

View Article

SSIS: Put build numbers into your logging process

A little tip here for any of you building SSIS packages. Some of you may know that I'm a big advocate

View Article

SSIS: Custom logging task

Back in June 2005 I published what I consider to be one of my more useful blog posts amongst my plethora

View Article

SSIS: Loading a Kimball data warehouse using SSIS

I have just been watching Joy Mundy's webcast " Loading a Kimball method data warehouse using SQL Server

View Article


re: SSIS: Custom Logging Using Event Handlers

Hi Jamie,apart from the methods you mention, if someone just wants to get a custom entry into the log file to monitor a variable etc then there is a very simple method available from the script...

View Article

re: SSIS: Custom Logging Using Event Handlers

Philip,You need to extract the appropriate value out of the hash table and then use THAT value in the datediff function. Do not use the hashtable itself.-Jamie

View Article


re: SSIS: Custom Logging Using Event Handlers

Jamie, I have to hand it to you once more, as that is a lovely little workaround you've devised there!Only problem I'm having with it though (and here's where my lack of comparative knowledge with SSIS...

View Article

re: SSIS: Custom Logging Using Event Handlers

Hi Phil,Thanks for the comments. I'm glad its proving useful.I'm not quite sure why you refer to the SSIS dev team as MY dev team. if only that were true - I could get them to do whatever I wanted...

View Article


re: SSIS: Custom Logging Using Event Handlers

Hi Jamie! What a great post!Has your dev team found out how to make the ContainerDuration component work yet???This process is truly awesome otherwise... =DMany thanks,Philip de Souza

View Article

Only Talking Sense » SSIS Event Handling

PingBack from http://onlytalkingsense.wordpress.com/2006/06/07/ssis-event-handling/

View Article

re: SSIS: Custom Logging Using Event Handlers

Terry,It sounds like you want to decide whether the data should be inserted or updated depending on whether its primary key already exists in the target table. Is that correct? If so, this article will...

View Article
Browsing all 119 articles
Browse latest View live