如何在SQL中创建作业和计划

编程入门 行业动态 更新时间:2024-10-25 04:21:25
本文介绍了如何在SQL中创建作业和计划的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

亲爱的朋友, 任何人都可以教育我如何创建工作并安排工作. 使用

Dear Friends, Can any educate me How to create a Job and schedule the same. Use of

sp_add_job (Transact-SQL) sp_add_schedule (Transact-SQL)

问候, AP

Regards, AP

推荐答案

创建SQL Server代理作业 [ ^ ] 安排工作 [ ^ ] 创建工作 [ ^ ] 如何在sql server中创建作业 [ ^ ] 每半小时执行存储过程. [ ^ ] Creating SQL Server Agent Jobs[^] Schedule a Job[^] Create a Job[^] How to create a job in sql server[^] Execution of Stored Procedure for every half an hour.[^]

首先,您要了解您使用的SQL Server版本. 连接到服务器 SQL Server代理-创建新作业 在常规"选项卡中,填写数据库名称,所有者,类别-数据库管理" 时间表-给出时间表的名称 时间表类型-根据需要重复并填写其他详细信息 SQL Server代理应出现在ur sql中,但在sql Express Edition中不支持 Hi, First u see what edition u are using for sql server. Connect to the server SQL Server Agent - create a new job In the General Tab fill the database name, owner, category -Database Management Schedules - Give the name for schedule Schedule type - Recurring and fill other details as ur need SQL server Agent should be present in ur sql, it does not support in sql express edition

更多推荐

如何在SQL中创建作业和计划

本文发布于:2023-10-25 08:06:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1526407.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:作业   计划   如何在   SQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!