我可以在SQL作业中查看它执行的值的值吗? [英] Can I view the value in SQL job on what value it executed?

查看:81
本文介绍了我可以在SQL作业中查看它执行的值的值吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了将表日志值重置为0的作业,并且我将作业调度了6个小时一次,值为6000(日志值)。关于重置表格的价值,每隔6小时可以知道表值吗。



我尝试了什么:



我创建了这份工作,并将时间和价值设置为6小时一次和6ooo值。

Hi,I created the jobs for reset the table log value to 0 , and i schedule the job for 6 hours once and the value is 6000 (log value). Is this possible to known about the table value in every 6 hours on what value it reset the table.

What I have tried:

I created the job and set the time and value as 6 hours once and 6ooo values.

推荐答案

如果您有一个运行来重置值的作业,为什么不在作业中添加额外的步骤以在重置之前将值保存到另一个表?存储当前时间戳和值,您可以查询您心中的内容。
If you have a job that runs to reset the value, why not add an extra step to the job to save the value to another table before resetting it? Store the current timestamp and the value and you can query to your heart's content.


这篇关于我可以在SQL作业中查看它执行的值的值吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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