EXEC msdb.dbo.sp_send_dbmail and @query SQL Server 2005 - TechRepublic
Question
April 24, 2009 at 08:45 AM
dougfettig

EXEC msdb.dbo.sp_send_dbmail and @query SQL Server 2005

by dougfettig . Updated 17 years, 2 months ago

I am using Database Mail, (SQL Server 2005) and would trying to do use the @query function.

1. When an invoice is saved to SQL database
2. A trigger sends an email
3. I have captured the invoice number and tracking number but would also like to capture the details of the invoice line items: Item Number, qty. This information is in a different table than the trigger.

Will this be possible? and if so any suggestions?

Doug

This discussion is locked

All Comments