dbTalk Databases Forums  

Changing database destination globally

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


Discuss Changing database destination globally in the microsoft.public.sqlserver.dts forum.



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

Default Changing database destination globally - 11-04-2003 , 05:57 PM






I have a simple dts package that copies data from one table to another
(deleting rows in the destination table) for about 20 tables. The source
database will always be the same but I'd like the ability to quickly change
all references to the destination database for the deletion and insertion.
How can this be accomplished? I tried changing the connections in the
disconnected edit section but that didn't do the trick.



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

Default Re: Changing database destination globally - 11-06-2003 , 04:11 PM






The destination database is referenced by a connection object yeah? You
would need one of these if using the Datapump task or the ExecuteSQL task.
If that is the case and they all use the same connection object then you
only need to change things in one place

Connections
(http://www.sqldts.com/default.aspx?101)

--
--

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

"David Morrison" <me (AT) nospam (DOT) com> wrote

Quote:
I have a simple dts package that copies data from one table to another
(deleting rows in the destination table) for about 20 tables. The source
database will always be the same but I'd like the ability to quickly
change
all references to the destination database for the deletion and insertion.
How can this be accomplished? I tried changing the connections in the
disconnected edit section but that didn't do the trick.





Reply With Quote
  #3  
Old   
Shawn Lovelidge
 
Posts: n/a

Default Changing database destination globally - 12-04-2003 , 09:45 AM



Did you resolve this problem?

I'm attempting to implement the same multiple destination
functionality in my package.

Shawn

Email: slovelid (AT) jcpenney (DOT) com

Quote:
-----Original Message-----
I have a simple dts package that copies data from one
table to another
(deleting rows in the destination table) for about 20
tables. The source
database will always be the same but I'd like the ability
to quickly change
all references to the destination database for the
deletion and insertion.
How can this be accomplished? I tried changing the
connections in the
disconnected edit section but that didn't do the trick.


.


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

Default Re: Changing database destination globally - 12-04-2003 , 09:54 AM



You also need to look at the DestinationObjectName property of the DataPump
tasks.

--
--

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

"Shawn Lovelidge" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Did you resolve this problem?

I'm attempting to implement the same multiple destination
functionality in my package.

Shawn

Email: slovelid (AT) jcpenney (DOT) com

-----Original Message-----
I have a simple dts package that copies data from one
table to another
(deleting rows in the destination table) for about 20
tables. The source
database will always be the same but I'd like the ability
to quickly change
all references to the destination database for the
deletion and insertion.
How can this be accomplished? I tried changing the
connections in the
disconnected edit section but that didn't do the trick.


.




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.