Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

SQL Job - To get the data of last successful run and process on next run

$
0
0

Hello,

This is reg. SQL job failure.

My job runs daily and picks the data from tables based on current date.

But when the job fails, I have to get the data after the last successful run.

How to handle this in sql server 2016 ? 

Do I need to create a separate table to track the Job Id and its status details??

Thanks,

RG


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>