Site Search:
Sign in | Join | Help

Browse by Tags

Sorry, but there are no more tags available to filter with.
  • Mail from a stored procedure in SQL 2005

    Code to send mail from a sql 2005 stored proc will look something like this: declare @body1 varchar ( 100 ) set @body1 = 'Server :' + @@servername + ' My First Database Email ' EXEC msdb . dbo . sp_send_dbmail @recipients = 'steve@4penny.net' , @subject = 'My Mail Test' , @body = @body1 , @profile_name...
    Posted to SQL Server (T-SQL) (Weblog) by Steve Gray on 02-02-2007
Page 1 of 1 (1 items)