Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
infodemers
Posting Yak Master
183 Posts |
Posted - 2008-10-01 : 09:13:34
|
Hi,I try ro call a stored procedure within an activeX in a dts package.Can anyone give me a hand please?Here is my code:' ***** Run Stored Procedure. ******Dim SQL Set db = CreateObject("ADODB.Connection")db.open "Provider=sqloledb;Data Source=ServerName;Initial Catalog=DataBase Name;Integrated Security=SSPI"SQL = "Stored Procedure #1" db.Execute(SQL)SQL = "Stored Procedure #2" db.Execute(SQL)SQL = "Stored Procedure #3" db.Execute(SQL)db.closeSet SQL = Nothing' **********************************************Thanks for any help! |
|
infodemers
Posting Yak Master
183 Posts |
Posted - 2008-10-01 : 12:16:28
|
Hi everyone,I could finally got it working! |
 |
|
|
|
|