Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

Auditing Extracts data from staging tables

$
0
0

Hi ,

My requirement is  5 source table is extracted from source system. loaded into 5 staging tables.

after that i need one auditing table  with 3 columns. tablename,sourcecount,stagingcount. once completion of the load 5 records needs to be inserted or updated . then compare the sourcecount=stagingcount  for 5 records all matched job needs continued else fail the job.

Thanks in advance.

Thiru


Thiru


Viewing all articles
Browse latest Browse all 12554

Trending Articles



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