Solved

sql server agent job sent email notification for job success, failure , partial success? How this can be achieved?

Posted on 2012-04-10
4
781 Views
Last Modified: 2012-04-26
Hi ,

I have sql server job. Sql server job uses the ssis package. SSIS package reads the RawData from RawTable, parse the data and save the parsed data in the parsed table. This is done by using Script Task.

If there are some issues in parsing, suppose some records are not parsed, then those records will be saved in the log file. This is done by ssis package.

Sql Server Job sends the email when job is successful and when the job is failed.

I am not sure how to handle this situation:If there are some issues in parsing, suppose some records are not parsed, then those records will be saved in the log file. I want email is sent to dba that job is partial successful. How this can be achieved. How to notify by email in case of partial success??

Thanks
0
Comment
Question by:Saroj13
  • 2
4 Comments
 
LVL 37

Expert Comment

by:momi_sabag
ID: 37830415
how about sending the emails from within the SSIS package itself?
0
 

Author Comment

by:Saroj13
ID: 37830539
I want email
for
1 when ssis package success
2. when ssis package failed
2. when some of the records are not parsed, unparsed records saved in error log file, in that  case email will be sent for partial success...

how this can be done using ssis package
0
 
LVL 11

Expert Comment

by:SThaya
ID: 37831871
0
 
LVL 11

Accepted Solution

by:
SThaya earned 500 total points
ID: 37831883
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question