dbTalk Databases Forums  

Mail

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Mail in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
 
Posts: n/a

Default Mail - 07-27-2004 , 05:50 AM






Hi

I have a dts packet that copy data from 6 different
tables. If anything fails I want to send an email saing
what table who faild. Can I do that with only one "Send
mail task"?

/Maria

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Mail - 07-27-2004 , 06:21 AM






You can use workflow so that each step is executed regardless of what
happened in the previous step.
You then at the end have an Active Script task that checks the last outcome
of each step and then set the properties of a send mail task.

Some articles to help

Changing the DTS Send Mail Task
(http://www.sqldts.com/default.aspx?235)

Introduction to Workflow
(http://www.sqldts.com/default.aspx?287)

Execute a package from Visual Basic (VB)
(http://www.sqldts.com/default.aspx?208,2)

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


<anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi

I have a dts packet that copy data from 6 different
tables. If anything fails I want to send an email saing
what table who faild. Can I do that with only one "Send
mail task"?

/Maria



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.