更改 SQL Server 维护计划报告位置?

发布于 2024-09-10 07:39:32 字数 322 浏览 3 评论 0原文

我在 SQL Server 2008 中创建了一些维护计划,而没有使用向导(即右键单击“维护计划”并选择“新建维护计划...”)。以这种方式创建时,没有选项可以指定维护计划操作报告的位置。默认情况下,它位于该 SQL Server 实例的 Program Files 文件夹的 Log 子文件夹中。使用向导创建维护计划时,您可以指定这些报告文件的位置。

我找不到事后修改报告文件位置的方法。编辑屏幕没有为您提供指定位置的选项,并且似乎没有办法将现有计划加载到向导中进行修改。当我查看 T-SQL 时,我没有看到报告文件的任何选项。

有没有办法更改维护计划操作报告的位置,而无需使用向导重新创建计划?

I created some Maintenance Plans in SQL Server 2008 without using the wizard (i.e. right-click on Maintenance Plans and select New Maintenance Plan...). When created that way, there is no option to specify the location for the Maintenance Plan Action Report. It is by default placed in the Log subfolder of the Program Files folder for that instance of SQL Server. When creating Maintenance Plans using the Wizard, you can specify the location for those report files.

I can't find a way to modify the report file location after-the-fact. The edit screen doesn't give you the option of specifying the location and there doesn't appear to be a way to load an existing plan into the wizard for modification. When I view the T-SQL, I don't see any option for the report file.

Is there a way to change the location that the Maintenance Plan Action Reports go to without recreating the plans using the Wizard?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无声无音无过去 2024-09-17 07:39:32

使用 SSMS,在对象资源管理器中双击您的维护计划。在对象资源管理器详细信息中,单击“报告和日志记录”图标(通常位于“管理连接”按钮旁边)。在此窗口中,您可以指定文本文件报告的位置。

Using SSMS, double click on your Maintenance Plan in the Object Explorer. In the Object Explorer Details, click on the "Reporting and Logging" icon (typically next to the "Manage Connections" button). In this window, you can specify the location for text file reports.

猫弦 2024-09-17 07:39:32

如果您的维护计划必须出现在 SSMS 中的“维护计划”节点下方,我无能为力。

否则...
SQL Server 2008 中的维护计划是常见的 SSIS 包。您可以使用 BIDS(商业智能开发工作室)并创建维护包。之后,您可以将包存储在任何您想要的位置并由 SQL Server 代理调用它。

希望这会有所帮助,
弗洛

If your maintenance plan has to appear below the "Maintenance Plans" node in SSMS, I can't help.

Otherwise...
Maintenance Plans in SQL Server 2008 are usual SSIS packages. You can use BIDS (Business Intelligence Developer Studio) and create your maintenance package. After that, you can store the package where ever you want and call it by SQL Server Agent.

Hope this helps a bit,
Flo

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文