RT,執行失敗了,總是只提示一句“以xxxx用戶身份執行失敗”,很難找原因。
引用 http://bbs.csdn.net/topics/300059148
Sql2005如何用dtexec運行ssis(DTS)包
一、首先在Business Intelligence中設計好包,并調試通過。
二、選用dtexec工具運行包
(一) 打開 xp_cmdshell 選項
SQL Server 2005 中引入的 xp_cmdshell 選項是服務器配置選項,使系統管理員能夠控制是否可以在系統上執行 xp_cmdshell 擴展存儲過程。默認情況下,xp_cmdshell 選項在新安裝的軟件上處于禁用狀態,但是可以通過使用外圍應用配置器工具或運行 sp_configure 系統存儲過程來啟用它,如下面的代碼示例所示:
- 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
新聞熱點
疑難解答