Wrox Programmer Forums
|
BOOK: Professional Microsoft SQL Server 2008 Integration Services ISBN: 978-0-470-24795-2
This is the forum to discuss the Wrox book Professional Microsoft SQL Server 2008 Integration Services by Brian Knight, Erik Veerman, Grant Dickinson, Douglas Hinson, Darren Herbold; ISBN: 9780470247952
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft SQL Server 2008 Integration Services ISBN: 978-0-470-24795-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2010, 06:18 PM
Registered User
 
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Send Mail for Each Record in a Select Statement

In Chapter 13 of Microsoft SQL Server 2008 Integration Services, it explains how to send start, end times of a package, etc.

We would like to modify this very simple example in Chapter 13 to incllude the following requirements:

1. Send Mail to an email address and individual's name retrieved from a list retrieved by a select statement.
2. Customize the text in the email to incorporate the individual's name (e.g. Robert or Sarah).
3. Add an variable attachment file (filename and path) based upon the list retrieved by the select statement in item 1.
4. Write a line to a text file for each record processed and the date and time it was processed.

Any thoughts?

Thank you,
 
Old March 13th, 2010, 06:30 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

In above point 4, you said that you plan to write the record to a file. A better idea is to write it to a database, especially you already use one.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
send mail chavakoti BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 September 4th, 2007 05:03 AM
Select from another select statement to a repeater simsen ASP.NET 2.0 Professional 0 May 2nd, 2007 04:34 PM
how to send a mail ashokparchuri General .NET 2 March 24th, 2005 07:55 AM
The mail can't be send jabby General .NET 2 September 8th, 2004 05:14 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.