x

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 23 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 51 56 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.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

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

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x672
x472
x65

asked: May 24 '10 at 03:38 PM

Seen: 1464 times

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