dbTalk Databases Forums  

Change server in DTS packages

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


Discuss Change server in DTS packages in the microsoft.public.sqlserver.dts forum.



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

Default Change server in DTS packages - 02-04-2005 , 02:22 PM






Hey,

Is there a way to change in a DTS package a specific server?
I explain why.
I have about 140 DTS packages who collects data from an AS/400 to
store in several SQL databases on a server. Now we ar migrating that server
to a new one. The name of the server is different off course. I'm able to
export the packages in bulk to .dts files, and I'm able to import them on
the new server.
Bit the server to which the import goes is still the old one.

Any help is welcome,
Marc




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

Default Re: Change server in DTS packages - 02-05-2005 , 03:27 AM






Correct

Your packages should ideally read from an external source the data that
it needs at runtime (Dynamic Properties Task). This makes a package
more flexible.

That said the only way you can do this without opening every one by hand
now is to use the object model, loop through your packages, find the
right connections , revalue the DataSource property of the connections,
save back.





"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote

Quote:
Hey,

Is there a way to change in a DTS package a specific server?
I explain why.
I have about 140 DTS packages who collects data from an AS/400 to
store in several SQL databases on a server. Now we ar migrating that
server
to a new one. The name of the server is different off course. I'm able to

export the packages in bulk to .dts files, and I'm able to import them on

the new server.
Bit the server to which the import goes is still the old one.

Any help is welcome,
Marc


Reply With Quote
  #3  
Old   
MADS
 
Posts: n/a

Default Re: Change server in DTS packages - 02-05-2005 , 01:06 PM



Thx Allan for your reply...
How can I use an object model? I'm a newby on this subject.
Can it be done by queries?

Marc

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Correct

Your packages should ideally read from an external source the data that it
needs at runtime (Dynamic Properties Task). This makes a package more
flexible.

That said the only way you can do this without opening every one by hand
now is to use the object model, loop through your packages, find the right
connections , revalue the DataSource property of the connections, save
back.





"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message
news:deschepper_marc (AT) telenet (DOT) be:
Hey,

Is there a way to change in a DTS package a specific server?
I explain why.
I have about 140 DTS packages who collects data from an AS/400 to
store in several SQL databases on a server. Now we ar migrating that
server
to a new one. The name of the server is different off course. I'm able to

export the packages in bulk to .dts files, and I'm able to import them on

the new server.
Bit the server to which the import goes is still the old one.

Any help is welcome,
Marc




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

Default Re: Change server in DTS packages - 02-05-2005 , 01:37 PM



By queries I will presume you mean TSQL???





Technically yes you could do that but it is painful and will keep you
awake at night.



Have a look at this article.



www.sqldts.comm/default.aspx?208













"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote


Quote:
Thx Allan for your reply...

How can I use an object model? I'm a newby on this subject.

Can it be done by queries?



Marc



"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message

news:OUvOdR2CFHA.2180 (AT) TK2MSFTNGP12 (DOT) phx.gbl...

Correct



Your packages should ideally read from an external source the data that

it

needs at runtime (Dynamic Properties Task). This makes a package more



flexible.



That said the only way you can do this without opening every one by hand



now is to use the object model, loop through your packages, find the

right

connections , revalue the DataSource property of the connections, save



back.











"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message

news:deschepper_marc (AT) telenet (DOT) be:

Hey,



Is there a way to change in a DTS package a specific server?

I explain why.

I have about 140 DTS packages who collects data from an AS/400

to

store in several SQL databases on a server. Now we ar migrating that

server

to a new one. The name of the server is different off course. I'm able

to



export the packages in bulk to .dts files, and I'm able to import them

on



the new server.

Bit the server to which the import goes is still the old one.



Any help is welcome,

Marc





Reply With Quote
  #5  
Old   
MADS
 
Posts: n/a

Default Re: Change server in DTS packages - 02-06-2005 , 12:43 PM



TSQL? I guess
I mean any SQL query....I used to make queries in MS Access....End learned
making views in SQL Query Analyser

Sorry to be a dummy ....:-( But I'm learning...:-)

PS: your link does not work



"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
By queries I will presume you mean TSQL???





Technically yes you could do that but it is painful and will keep you
awake at night.



Have a look at this article.



www.sqldts.comm/default.aspx?208













"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message
news:deschepper_marc (AT) telenet (DOT) be:

Thx Allan for your reply...

How can I use an object model? I'm a newby on this subject.

Can it be done by queries?



Marc



"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message

news:OUvOdR2CFHA.2180 (AT) TK2MSFTNGP12 (DOT) phx.gbl...

Correct



Your packages should ideally read from an external source the data that

it

needs at runtime (Dynamic Properties Task). This makes a package more



flexible.



That said the only way you can do this without opening every one by
hand



now is to use the object model, loop through your packages, find the

right

connections , revalue the DataSource property of the connections, save



back.











"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message

news:deschepper_marc (AT) telenet (DOT) be:

Hey,



Is there a way to change in a DTS package a specific server?

I explain why.

I have about 140 DTS packages who collects data from an AS/400

to

store in several SQL databases on a server. Now we ar migrating that

server

to a new one. The name of the server is different off course. I'm able

to



export the packages in bulk to .dts files, and I'm able to import them

on



the new server.

Bit the server to which the import goes is still the old one.



Any help is welcome,

Marc







Reply With Quote
  #6  
Old   
MADS
 
Posts: n/a

Default Re: Change server in DTS packages - 02-06-2005 , 12:45 PM



I found the error in the link...;-)

Is there no easy way to "migrate" the dts packages from one server to
another?

MaDS


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
By queries I will presume you mean TSQL???





Technically yes you could do that but it is painful and will keep you
awake at night.



Have a look at this article.



www.sqldts.comm/default.aspx?208













"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message
news:deschepper_marc (AT) telenet (DOT) be:

Thx Allan for your reply...

How can I use an object model? I'm a newby on this subject.

Can it be done by queries?



Marc



"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message

news:OUvOdR2CFHA.2180 (AT) TK2MSFTNGP12 (DOT) phx.gbl...

Correct



Your packages should ideally read from an external source the data that

it

needs at runtime (Dynamic Properties Task). This makes a package more



flexible.



That said the only way you can do this without opening every one by
hand



now is to use the object model, loop through your packages, find the

right

connections , revalue the DataSource property of the connections, save



back.











"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message

news:deschepper_marc (AT) telenet (DOT) be:

Hey,



Is there a way to change in a DTS package a specific server?

I explain why.

I have about 140 DTS packages who collects data from an AS/400

to

store in several SQL databases on a server. Now we ar migrating that

server

to a new one. The name of the server is different off course. I'm able

to



export the packages in bulk to .dts files, and I'm able to import them

on



the new server.

Bit the server to which the import goes is still the old one.



Any help is welcome,

Marc







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

Default Re: Change server in DTS packages - 02-06-2005 , 01:54 PM



Transferring packages can be done like this

http://www.sqldts.com/default.aspx?204

Changing the DataSources internally should be designed in from the
beginning.

You could use the object model to fire the packages and change the
Connections' DataSource properties through that.

Allan

"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote

Quote:
I found the error in the link...;-)

Is there no easy way to "migrate" the dts packages from one server to
another?

MaDS


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:eKcEin7CFHA.4052 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
By queries I will presume you mean TSQL???





Technically yes you could do that but it is painful and will keep you
awake at night.



Have a look at this article.



www.sqldts.comm/default.aspx?208













"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message
news:deschepper_marc (AT) telenet (DOT) be:

Thx Allan for your reply...

How can I use an object model? I'm a newby on this subject.

Can it be done by queries?



Marc



"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message

news:OUvOdR2CFHA.2180 (AT) TK2MSFTNGP12 (DOT) phx.gbl...

Correct



Your packages should ideally read from an external source the data
that

it

needs at runtime (Dynamic Properties Task). This makes a package
more



flexible.



That said the only way you can do this without opening every one by

hand



now is to use the object model, loop through your packages, find
the

right

connections , revalue the DataSource property of the connections,
save



back.











"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message

news:deschepper_marc (AT) telenet (DOT) be:

Hey,



Is there a way to change in a DTS package a specific server?

I explain why.

I have about 140 DTS packages who collects data from an
AS/400

to

store in several SQL databases on a server. Now we ar migrating
that

server

to a new one. The name of the server is different off course. I'm
able

to



export the packages in bulk to .dts files, and I'm able to import
them

on



the new server.

Bit the server to which the import goes is still the old
one.



Any help is welcome,

Marc






Reply With Quote
  #8  
Old   
MADS
 
Posts: n/a

Default Re: Change server in DTS packages - 02-06-2005 , 02:13 PM



Allan Thx for all the help.
MaDS

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Transferring packages can be done like this

http://www.sqldts.com/default.aspx?204

Changing the DataSources internally should be designed in from the
beginning.

You could use the object model to fire the packages and change the
Connections' DataSource properties through that.

Allan

"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message
news:deschepper_marc (AT) telenet (DOT) be:
I found the error in the link...;-)

Is there no easy way to "migrate" the dts packages from one server to
another?

MaDS


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:eKcEin7CFHA.4052 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
By queries I will presume you mean TSQL???





Technically yes you could do that but it is painful and will keep you
awake at night.



Have a look at this article.



www.sqldts.comm/default.aspx?208













"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message
news:deschepper_marc (AT) telenet (DOT) be:

Thx Allan for your reply...

How can I use an object model? I'm a newby on this subject.

Can it be done by queries?



Marc



"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message

news:OUvOdR2CFHA.2180 (AT) TK2MSFTNGP12 (DOT) phx.gbl...

Correct



Your packages should ideally read from an external source the data
that

it

needs at runtime (Dynamic Properties Task). This makes a package
more



flexible.



That said the only way you can do this without opening every one by

hand



now is to use the object model, loop through your packages, find
the

right

connections , revalue the DataSource property of the connections,
save



back.











"MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message

news:deschepper_marc (AT) telenet (DOT) be:

Hey,



Is there a way to change in a DTS package a specific server?

I explain why.

I have about 140 DTS packages who collects data from an
AS/400

to

store in several SQL databases on a server. Now we ar migrating
that

server

to a new one. The name of the server is different off course. I'm
able

to



export the packages in bulk to .dts files, and I'm able to import
them

on



the new server.

Bit the server to which the import goes is still the old
one.



Any help is welcome,

Marc








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.