How to automatically run a stored procedure on scheduler basis?

后端 未结 3 343
终归单人心
终归单人心 2021-02-01 09:52

I want to execute a stored procedure automatically at every night. How can I do it. Please guide me with steps to achieve this target.

Thanks in advance.

3条回答
  •  失恋的感觉
    2021-02-01 10:29

    Quick solution is,

    Create your stored procedure Write the SQL Job (below are the steps)

    http://www.dailycoding.com/Posts/step_by_step_guide_to_add_a_sql_job_in_sql_server_2005.aspx

    In Step 5 configure stored procedure that you created.

提交回复
热议问题