Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to create a store procedure based on Current Date and update another table

$
0
0

I have a table in my SQL Server, which contains Month End Date, Month Number and Fiscal Year

I need to create a store procedure which would take Current Date and compare with the Month End Date from my existing Table and take the corresponding month and year and update my other Control Table .

Any help would be appreciated.

Patyk


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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