@H_404_0@RT,执行失败了,总是只提示一句“以xxxx用户身份执行失败”,很难找原因。
@H_4040@引用 <a href="http://bbs.csdn.net/topics/300059148">http://bbs.csdn.net/topics/300059148
@H404_0@<span style="color: #ff0000">sql2005如何用dtexec运行ssis(DTS)包
@H_4040@<span style="color: #0000ff">一、首先在Business Intelligence中设计好包,并调试通过。
@H4040@<span style="color: #0000ff">二、选用dtexec工具运行包
@H404_0@
(一) 打开 xpcmdshell 选项
@H404_0@ sql Server 2005 中引入的 xp_cmdshell 选项是服务器配置选项,使系统管理员能够控制是否可以在系统上执行 xp_cmdshell 扩展存储过程。默认情况下,xp_cmdshell 选项在新安装的软件上处于禁用状态,但是可以通过使用外围应用配置器工具或运行 sp_configure 系统存储过程来启用它,如下面的代码示例所示:
<div class="jb51code">
<pre class="brush:sql;">
To allow advanced options to be changed.
EXEC sp_configure 'show advanced options',1 GO –
To update the currently configured value for advanced options. RECONFIGURE GO -- To enable the feature.
EXEC sp_configure 'xp_cmdshell',1 GO – Chinaz^com
To update the currently configured value for this feature. RECONFIGURE GO