![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
#3
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
#4
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
#5
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
#6
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
#7
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
#8
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
#9
| |||
| |||
|
|
I have created an SQL stored procedure to execute a DTS package. I am looping through a table to obtain a branch number and then running the DTS package for that branch. Is there a wat to pass the branch number to the DTS package and on which statment and where is it placed? EXEC @hr = sp_OACreate 'DTS.Package', @object OUTPUT EXEC @hr = sp_OAMethod @object, 'LoadFromStorageFile', NULL, '\\Test\SAMLoadTest.dts', '' EXEC @hr = sp_OAMethod @object, 'Execute' |
![]() |
| Thread Tools | |
| Display Modes | |
| |