August 31, 2012 at 1:49 pm
hi
i need to give mail ,that if number of file deleted is 5.
the message should be 5 file deleted.
i am using send email task to email.but how to count 5 in send email task
August 31, 2012 at 2:16 pm
harri.reddy (8/31/2012)
hii need to give mail ,that if number of file deleted is 5.
the message should be 5 file deleted.
i am using send email task to email.but how to count 5 in send email task
???
http://weblogs.sqlteam.com/jeffs/archive/2008/05/13/question-needed-not-answer.aspx
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
September 13, 2012 at 1:44 pm
Hi Hari
please provide more detailed specs on the question. For this question, its not that the quesion is not clear.....but still people would like to get more detailed question with all the gaps filled in.
So now with your answer :
Set up a variable count_files_deleted in your SSIS
Fill this variable up with the number of files deleted. (lets say from a script component or maybe a RowCount transformation etc.)
In your SenMail task, use an expression utilizing this variable count_files_deleted to create your MessageSource property for the SendMail task.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply