dbTalk Databases Forums  

Replicating data across schemas

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


Discuss Replicating data across schemas in the microsoft.public.sqlserver.dts forum.



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

Default Replicating data across schemas - 03-06-2009 , 10:49 AM






Hi,

I have a situation where a row added to a table in the application of one
SQL Server 2000 database needs to have this data replicated to
corresponding tables with a different schema altogehter (which i can map),
in another SQL Server 2000 database within a VPN.

I assume Merge replication works only for matching or subsets of schemas.

Since this is mapping of data across different tables, i guess using
Triggers or SSIS packages would be the alternatives.

Which is the better approach ?

Regards,
Chakravrthy




Reply With Quote
  #2  
Old   
tbradshaw via SQLMonster.com
 
Posts: n/a

Default Re: Replicating data across schemas - 03-07-2009 , 03:27 AM






Hello Chakravrthy,

You don't mention how immediate the data needs to be replicated. Once-a-day?
Once-a-minute? You could set up a DTS scheduled job to copy over the new
information as needed to multiple destinations.

You could use an INSERT trigger, but it's not as visible, requires linked
servers, and if it fails (for example, rebooting remote server), how would it
recover, or notify you? SQL 2000 doesn't use the TRY/CATCH that SQL 2005
enjoys, so you'd have to find other ways around it.

Let us know how you make out.

Best Regards,
Tom

Thomas Bradshaw
Data Integration Services
MyWebGrocer LLC

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200903/1


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.