• <small id='SLbby'></small><noframes id='SLbby'>

    <tfoot id='SLbby'></tfoot>
  • <legend id='SLbby'><style id='SLbby'><dir id='SLbby'><q id='SLbby'></q></dir></style></legend>
      <bdo id='SLbby'></bdo><ul id='SLbby'></ul>

      1. <i id='SLbby'><tr id='SLbby'><dt id='SLbby'><q id='SLbby'><span id='SLbby'><b id='SLbby'><form id='SLbby'><ins id='SLbby'></ins><ul id='SLbby'></ul><sub id='SLbby'></sub></form><legend id='SLbby'></legend><bdo id='SLbby'><pre id='SLbby'><center id='SLbby'></center></pre></bdo></b><th id='SLbby'></th></span></q></dt></tr></i><div id='SLbby'><tfoot id='SLbby'></tfoot><dl id='SLbby'><fieldset id='SLbby'></fieldset></dl></div>

        如何每小时在sql server中运行一个存储过程?

        How to run a stored procedure in sql server every hour?(如何每小时在sql server中运行一个存储过程?)

      2. <small id='EZgZi'></small><noframes id='EZgZi'>

        <legend id='EZgZi'><style id='EZgZi'><dir id='EZgZi'><q id='EZgZi'></q></dir></style></legend>
        <tfoot id='EZgZi'></tfoot>
      3. <i id='EZgZi'><tr id='EZgZi'><dt id='EZgZi'><q id='EZgZi'><span id='EZgZi'><b id='EZgZi'><form id='EZgZi'><ins id='EZgZi'></ins><ul id='EZgZi'></ul><sub id='EZgZi'></sub></form><legend id='EZgZi'></legend><bdo id='EZgZi'><pre id='EZgZi'><center id='EZgZi'></center></pre></bdo></b><th id='EZgZi'></th></span></q></dt></tr></i><div id='EZgZi'><tfoot id='EZgZi'></tfoot><dl id='EZgZi'><fieldset id='EZgZi'></fieldset></dl></div>

                  <tbody id='EZgZi'></tbody>
                • <bdo id='EZgZi'></bdo><ul id='EZgZi'></ul>
                  本文介绍了如何每小时在sql server中运行一个存储过程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一张桌子,我想每小时在上面执行一些操作.为此,我创建了一个存储过程,但不知道如何每小时调用它.我知道有一些预定的工作,但如何使用它们.

                  I have a table on which I want to perform some operations every hour. For this I created a Stored Procedure but don't know how to call it every hour. I know there are some kind of scheduled jobs, but how to use them.

                  是否还有某种服务可以每秒持续运行,以便我可以将要执行的代码片段放置在其中?

                  Is there some kind of service also that keeps on running continuously, every second, where I can place my piece of code to be executed ?

                  推荐答案

                  在 SSMS 中导航到 SQL Server Agent-->Jobs右键单击作业文件夹并选择新作业

                  In SSMS navigate to SQL Server Agent-->Jobs Right click on the Job Folder and select new job

                  在弹出的对话框中,给工作起个名字单击步骤,然后单击新建,您将看到如下所示的对话框,选择正确的数据库并输入您的 proc 名称

                  on the dialog that pops up, give the job a name click on steps, then on new, you will see a dialog like the following, pick correct DB and type your proc name

                  点击日程后,选择新的,您将看到如下图所示的内容,填写您需要的所有内容并单击确定,在作业上单击确定,您应该设置

                  after that click on schedule, pick new and you will see something like the image below, fill all the stuff you need and click ok, click ok on the job and you should be set

                  这篇关于如何每小时在sql server中运行一个存储过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Oracle PL/SQL - Raise User-Defined Exception With Custom SQLERRM(Oracle PL/SQL - 使用自定义 SQLERRM 引发用户定义的异常)
                  Oracle: is there a tool to trace queries, like Profiler for sql server?(Oracle:是否有跟踪查询的工具,例如用于 sql server 的 Profiler?)
                  SELECT INTO using Oracle(使用 Oracle SELECT INTO)
                  PL/SQL - Use quot;Listquot; Variable in Where In Clause(PL/SQL - 使用“列表Where In 子句中的变量)
                  Oracle: Import CSV file(Oracle:导入 CSV 文件)
                  How can multiple rows be concatenated into one in Oracle without creating a stored procedure?(如何在不创建存储过程的情况下在 Oracle 中将多行连接为一个?)
                  1. <i id='eTb63'><tr id='eTb63'><dt id='eTb63'><q id='eTb63'><span id='eTb63'><b id='eTb63'><form id='eTb63'><ins id='eTb63'></ins><ul id='eTb63'></ul><sub id='eTb63'></sub></form><legend id='eTb63'></legend><bdo id='eTb63'><pre id='eTb63'><center id='eTb63'></center></pre></bdo></b><th id='eTb63'></th></span></q></dt></tr></i><div id='eTb63'><tfoot id='eTb63'></tfoot><dl id='eTb63'><fieldset id='eTb63'></fieldset></dl></div>
                    <legend id='eTb63'><style id='eTb63'><dir id='eTb63'><q id='eTb63'></q></dir></style></legend>
                      <bdo id='eTb63'></bdo><ul id='eTb63'></ul>
                          <tbody id='eTb63'></tbody>

                        <small id='eTb63'></small><noframes id='eTb63'>

                            <tfoot id='eTb63'></tfoot>