x
login about faq Site discussion (meta-askssc)

SQL Server 2000 - DTS - Dynamic SQL Server Connection

Friens,

I have many servers with SQL Server 2000 installed. I have a DTS and I need to do that be dynamic. I need to configure a dynamic SQL Server Connection and call it by CmdExec (pass a parameters the servername to source and destination source).

Anyone can help me?

more ▼

asked May 24 '10 at 03:38 PM in Default

Felipe gravatar image

Felipe
262 21 23 23

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

Hi Friens,

Here is how I use DTS in SQL 2000.

Let say there is DTS Package with 2 Servers connection,and add Dynamic properties Task. Before that Create the Global Variables First (for example - Server Name, Pwd, etc..). Then go back to Dynamic Pro Task and point it to those Global Variables inside the Dynamics Pro Task.

Then you can pass Global Variables from anywhere... Stored Procedure or other application by using (DTS Library - if you are using VB,C++, etc...)

Let me know how you get on.

Leo

more ▼

answered May 25 '10 at 06:11 AM

Leo gravatar image

Leo
1.6k 48 54 58

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x600
x454
x62

asked: May 24 '10 at 03:38 PM

Seen: 1143 times

Last Updated: May 24 '10 at 03:38 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.