SQL 代理命令行未保存 [英] SQL Agent Command Line Not Saved

查看:34
本文介绍了SQL 代理命令行未保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个正在尝试安排的 SSIS 包.我在 SQL Server 代理下创建了一个新作业.在作业步骤的命令行选项卡上,我选择手动编辑命令行".

I have a SSIS package I am trying to schedule. I create a new job under SQL Server Agent. On the Command line tab of the jobstep, I choose "Edit the command-line manually".

当我在作业步骤中从选项卡切换到选项卡时,更改会保留,但每当我退出并保存作业时,更改都会丢失.

The changes are retained as I switch from tab to tab within the job step but whenever I exit and save the job, the changes are lost.

知道发生了什么吗?

我使用的是 SQL Server 2008.

I'm on SQL Server 2008.

推荐答案

这是一个已确认的错误,但我的团队使用了以下解决方法:

This is a confirmed bug, but here's a workaround that my team uses:

1) 编写创建作业语句的脚本(无需您进行编辑)

1) Script the create job statement (without your edits)

2) 从 SQL Agent 中删除作业

2) Delete the job from SQL Agent

3) 在创建脚本中执行编辑

3) Perform your edits in the create script

4) 执行创建作业

这将允许您保留手动修改的命令行选项.

This will allow you to keep your manually modified command line options.

这篇关于SQL 代理命令行未保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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