Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dts and sqlmail task

Status
Not open for further replies.

swoodring

Programmer
Dec 7, 2000
114
US
In a DTS is there a way to set up a sqlmailtask that would send a mail message if any part of the dts package failed. I know I could set up one sql mail task for each step or task but was hoping there might be a way to specify if any step or task fails send a sql mail message.

Stacy
 
Have you looked at Error Handling in the T-SQL code.
I just looked briefly in SQL Books-On-Line that came with SQL Server.
RAISERROR is one and looks like it can send an Error message back to the client so it may be able to send an e-mail.


DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top