I have one issue, but I’m not getting a solution. I tried Google too.
I want to update my SQL database on the first day of every month (i.e. 01/01/2012, 01/02/2012, 01/03/2012, etc.) I am using C# (code behind language) and ASP.NET. I do not want any human effort for this. I want this update to be done automatically, on a specific date. Is there any kind of solution that can solve my problem?
If I am not clear about my doubt then let me know.
If you have access to the
SQL Server Job Agent, I would create a stored procedure that contains theUPDATEcode and then use a Job to run the stored proc each month on the first day of the month.Your steps would be:
UPDATE