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

Capture Data

$
0
0

I have this table called A which get inserted in Table B. Everyday the table A get truncated and new data are refresh from Table B. Table A however have a lot of data that is not related to B. NOw I need someway to capture data from Table B only on the 1st of the month and anything done today will remain as it is. So I should have only 1st of the month data as previous data and todays data as final.

Anything between 2- end of the month get deleted after every new data has been refreshed. Can I do that?


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>