Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute different commands using ADO

Status
Not open for further replies.

mc81773

Programmer
Sep 19, 2002
6
US
I am using DTS in SQL Server 2000.
Inside DTS,using VB scripting modules I am trying to do the following:
1. Insert into ERRORLOG table.
ERRORNUM varchar(5)
ERRORdet varchar(50)


2. Execute a stored procedure.
SQL Server : Server1.aaa.com
UserID : mysuser
Password : mypass
Database : PYMT1
Stored Proc : myproc1

Can Anyone give me a template to do this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top