Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Version Control

$
0
0

I have a database where every morning new data's are fed. There are several imports such a REcon,Recon Target,Bkgs etc.

I need to create a version control such as everyday when new data are feed in than I should be able to see Final,Previous ,Archive and current. For example lets say I imported Recon data today with the import name as Recon-4/8/2014 then my yesterday recon  Recon-4/7/2014 should be previous.

This is what I am expecting.

Version                                           Type

Recon-4/8/2014                            Final

Recon-4/7/2014                            Previous

Recon-4/6/2014                            Archive

Recon-4/8/2014 Current              Archive

The condition for current is that if there is a current version and no final version for that import than it will be current but if the final version is loaded than it should be Archive.

Can someone help me to find a solution for what I am doing?


SPPandey


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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