dbTalk Databases Forums  

read data from database in active x script

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


Discuss read data from database in active x script in the microsoft.public.sqlserver.dts forum.



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

Default read data from database in active x script - 11-18-2003 , 02:42 PM






I have SQL Server 2000 on Windows NT server machine. In one of my DTS I have
to write an active X script to get some data from the database. How do we
connect to database and read a table in active X script?

Thanks

JY



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: read data from database in active x script - 11-19-2003 , 01:22 AM






You would use VBScript and ADO. What info do you want. You could use
Global Variable recordsets in an ExecuteSQL task seeing as you are using
2000

How to loop through a global variable Rowset
(http://www.sqldts.com/Default.aspx?298)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"J Y" <jy1970us (AT) hotmail (DOT) com> wrote

Quote:
I have SQL Server 2000 on Windows NT server machine. In one of my DTS I
have
to write an active X script to get some data from the database. How do we
connect to database and read a table in active X script?

Thanks

JY





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.