![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I have following stement in SQL execute task: Declare @Inactive as int Set @Inactive = (Select Count(*) from test) Select @Inactive The next is: Execute CDO_SendMail @From = 'test (AT) msn (DOT) com', @To= 'test1 (AT) msn (DOT) com', @Cc = '', @Bcc = '', @Subject = 'Reports', @MessageFormat = 0, @Message = '' How do I pass @Inactive into Message? |
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Should be like this? Execute CDO_SendMail @From = 'test (AT) msn (DOT) com', @To= 'test1 (AT) msn (DOT) com', @Cc = '', @Bcc = '', @Subject = 'Reports', @MessageFormat = 0, I don't have @query parametrs. |
![]() |
| Thread Tools | |
| Display Modes | |
| |