dbTalk Databases Forums  

Execute SQL task from activex script in a loop

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute SQL task from activex script in a loop in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ajit
 
Posts: n/a

Default Execute SQL task from activex script in a loop - 12-08-2003 , 04:16 AM






Hi
I need to execute a sql task inside an Activex script which essentially executes a SP inside a loop. The task takes global variables as input parameters.

How to execute a task inside an Activex script

Thanks
Aji


Reply With Quote
  #2  
Old   
Jacco Schalkwijk
 
Posts: n/a

Default Re: Execute SQL task from activex script in a loop - 12-08-2003 , 05:03 AM






You can create a database connection with ADO inside your ActiveX script and
use that to execute the stored procedure, or you can create a loop in DTS as
described in the following article:
http://www.sqldts.com/default.aspx?246

However, I think there are easier ways to achive what you want, can you
provide some more information about what you exactly want to do?

--
Jacco Schalkwijk
SQL Server MVP


"Ajit" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I need to execute a sql task inside an Activex script which essentially
executes a SP inside a loop. The task takes global variables as input
parameters.
Quote:
How to execute a task inside an Activex script?

Thanks,
Ajit




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.