There is a database on Sql Server 2012. We need to organize an automatic execution of a Sql query every month, please tell me how to do this. Thank you in advance.

    1 answer 1

    In SQL Server Management Studio -> SQL Server Agent -> Tasks.
    Or EXEC sp_add_schedule and EXEC sp_attach_schedule .
    An example is in MSDN - Task Planning .

    • one
      To heap sp_add_job and sp_add_jobstep . - i-one