SqlServer中的作业计划程序 [英] Job scheduler in SqlServer

查看:109
本文介绍了SqlServer中的作业计划程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友;

当某些数据在24小时后未更新时,我想从表中自动删除数据

如果您有一些样品请发送给我或帮助我

Tanks

hi dear friends;

I want to automatic delete data from table when some of data not updated after 24 hours

If you have some sample pleas send for me or help me

Tanks

推荐答案

首先为Delete操作编写存储过程.

然后创建一个新的工作.并在此作业中配置SP.
http://msdn.microsoft.com/en-us/library/ms190268.aspx

安排您的工作.
http://msdn.microsoft.com/en-us/library/ms191439.aspx
Firstly write Stored Procedure for Delete operation.

Then craete a new Job. And configure you SP in this Job.
http://msdn.microsoft.com/en-us/library/ms190268.aspx

Schedule your Job.
http://msdn.microsoft.com/en-us/library/ms191439.aspx


这篇关于SqlServer中的作业计划程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆