dbTalk Databases Forums  

RecordSet output to email methods? (body text or attachment)

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


Discuss RecordSet output to email methods? (body text or attachment) in the microsoft.public.sqlserver.dts forum.



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

Default RecordSet output to email methods? (body text or attachment) - 03-16-2006 , 11:27 AM






How would I send a recordset (global variable created with an Execute SQL
task) out via a SendMailTask.

Would the most direct method be, create the SendMailTask via ActiveX code
and loop through the RS building a string var to assign to the
objSendMail.MessageText?

What about creating an output file (TXT or XLS or ....) to attach to the
email. What methods could be used to dump the RS to output?

I am very new to SQL/DTS but have some background in VBA with excel.

Any thoughts are welcome.

--
Regards,
John

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.