October 23, 2002 at 12:00 am
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/JTallamraju/data_import_functionality_using.asp
October 24, 2002 at 9:38 pm
Paul,
You are 100% right. This is very good point. Sample code I supplied uses this approach but failure notification is never sent if process fails initially in any of the tasks.
I guess best approach in this case is to have separate failure notification task in each case.
Thanks for your valuable comments.
Jay
October 30, 2002 at 6:24 pm
One option to maintain the clean modularity of your notification task is to use two packages to organize or "scope" your code.
The added "controller" package contains an Execute Package Task for the existing package of ETL tasks. The Send Mail Task is moved to the controller package with an On Failure constraint from the Execute Package Task. Pass the path of the ETL package's log file back to the controller package as a global variable. Set the FileAttachments property of the Send Mail Task to the global variable value so that the log file can conveniently be read as an attachment to the failure notification email.
This would avoid the development burden of building a custom task or ActiveX script to avoid redundancy.
(Of course, a custom task is the direction to go when you need powerful auditing or, especially, an error handler...but throwing COM or Visual Studio into the mix probably won't meet the spec for simplicity of maintenance.)
September 22, 2003 at 6:24 am
This is a very useful article, and should help get us started on our project. But I can't find the "download" scripts anywhere. Are they on this website?
Iain
June 17, 2004 at 6:36 pm
I'm brand new to the whole DTS scene, and I found the article very helpful. However, my task involves some conditional processing. Could you help me by providing some examples of conditional logic for determining whether the current row is existing or not (ins vs upd)? I know very little VBscript/ActiceX, but I can extrapolate from examples.
I really appreciate it.
March 1, 2005 at 11:55 pm
Hi,
Could you please let me know the URL, where i can find the Sample Code for this.
Thank You
March 2, 2005 at 1:17 am
As the article is over two years old and the author has not been active on the website since posting the article, I'd say the download is no longer available.
--------------------
Colt 45 - the original point and click interface
August 15, 2005 at 10:09 am
Why don't you provide database ?
August 16, 2005 at 5:40 pm
"Data Driven Query Task" suck, if you ask me. Other than that, it's a pretty good overview of what you can do with DTS. Personally, I put business rules in SQL code, preferably making it data driven so users can modify the imports in simple ways without changing code.
cl
Signature is NULL
August 8, 2008 at 5:51 pm
😀
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply