![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to launch a dts package from query analyzer. I'm using code like the code below and am getting the error below. It works just fine if I use the same exact code that is in @strsql from a command prompt. Any ideas? Thanks, Andre DECLARE @strCommand VARCHAR(8000) DECLARE @nCubeID INT SET @nCubeID = 99 SET @strCommand = 'DTSRUN /S SQL01 /E /NCube' + CAST(@nCubeID AS VARCHAR) + 'Refresh' --select @strCommand EXEC master.dbo.xp_cmdshell @strCommand output ------------------------------------------------ ---------------------------------------------------------------------------- ----------------------------------DTSRun: Loading... Error: -2147221005 (800401F3); Provider Error: 0 (0) Error string: Invalid class string Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts80.hlp Help context: 713 NULL (10 row(s) affected) |
![]() |
| Thread Tools | |
| Display Modes | |
| |