dbTalk Databases Forums  

Include file in DTS

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


Discuss Include file in DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ernesto L via SQLMonster.com
 
Posts: n/a

Default Include file in DTS - 09-05-2005 , 05:04 AM






Hello,
I am wondering if it is possible to include a class and to instanciate it
into a dts script?

Thanks


--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200509/1

Reply With Quote
  #2  
Old   
Narayana Vyas Kondreddi
 
Posts: n/a

Default Re: Include file in DTS - 09-05-2005 , 05:16 AM






You might want to use the ActiveX Script Task in DTS.
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/


"Ernesto L via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Hello,
I am wondering if it is possible to include a class and to instanciate it
into a dts script?

Thanks


--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200509/1



Reply With Quote
  #3  
Old   
Ernesto L via SQLMonster.com
 
Posts: n/a

Default Re: Include file in DTS - 09-05-2005 , 05:32 AM



Thank you for your answer.
But can you give me an example?

I have a class written in ASP and I want to use It in DTS.
But I'm not sure I can unclude it and use it?


Narayana Vyas Kondreddi wrote:
Quote:
You might want to use the ActiveX Script Task in DTS.
Hello,
I am wondering if it is possible to include a class and to instanciate it
into a dts script?

Thanks

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200509/1


Reply With Quote
  #4  
Old   
Narayana Vyas Kondreddi
 
Posts: n/a

Default Re: Include file in DTS - 09-05-2005 , 06:00 AM



ActiveX script task is a task in the DTS Designer. Here's some example code
from ActiveX script task: http://www.sqldts.com/default.aspx?211
--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/


"Ernesto L via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Thank you for your answer.
But can you give me an example?

I have a class written in ASP and I want to use It in DTS.
But I'm not sure I can unclude it and use it?


Narayana Vyas Kondreddi wrote:
Quote:
You might want to use the ActiveX Script Task in DTS.
Hello,
I am wondering if it is possible to include a class and to instanciate it
into a dts script?

Thanks

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200509/1




Reply With Quote
  #5  
Old   
Darren Green
 
Posts: n/a

Default Re: Include file in DTS - 09-06-2005 , 12:22 PM



The only way to use an ASP class is through ASP, and the IIS handler. There
is no ASP parser, similar to the VBScript host for example.

You could write a script component and use that from ASP and DTS, or better
still a COM DLL.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"Ernesto L via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Quote:
Thank you for your answer.
But can you give me an example?

I have a class written in ASP and I want to use It in DTS.
But I'm not sure I can unclude it and use it?


Narayana Vyas Kondreddi wrote:
You might want to use the ActiveX Script Task in DTS.
Hello,
I am wondering if it is possible to include a class and to instanciate it
into a dts script?

Thanks


--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200509/1



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.