fm447k (8/10/2009)
How do I email the list of filenames from the table? I'm using SQL 2005 and have configured Database Mail.
Apologies here because I don't know. They have Lotus Notes and SQL Server 2000 and have the email system setup where I can't even do automatic DBA notifications where I'm currently working. I had to use CDONTS to setup any kind of automated email and that differs a whole lot from system to system. Because it's operating on SS2k, it has an 8k limit (unless I used the TEXT data type and I'm not going there) so I end up writing such things out to a file and then identify the file as an attachment. It's a real pain.
--Jeff Moden
Change is inevitable... Change for the better is not.