Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Looping Emails

Author  Topic 

dtrivedi
Posting Yak Master

153 Posts

Posted - 2010-07-20 : 08:10:53
I need to send emails to locations which come up in the query


SELECT [LOCATION],[CUSTOMER],[ACCOUNT],[CUSTOMER_NAME],[PHONE]
FROM [vw_PAST_DUE_LESSONS_EZPAY]' ,


each location shud get there own information emailed to them

i have a temp table which i have created that stores the email addresses

am reallly reallly new at this

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-07-20 : 12:32:25
Too many duplicates, locking this one.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -