Solved

SQL Server 2008 Replication

Posted on 2011-03-08
2
340 Views
Last Modified: 2012-05-11
I'm attempting to setup replication between two different schemas within SQL Server 2008, and I'm wondering if  it is possible to run replcation with two schemas that are different, and if so what is the best replication type.
0
Comment
Question by:nitayalevette
2 Comments
 
LVL 14

Accepted Solution

by:
Daniel_PL earned 250 total points
ID: 35071928
What do you mean by saying 'different' about other schema?
You can use SSIS for that if you don't need real time or maybe by adding some triggers with SSIS making resolution 'real time' ;)
0
 
LVL 28

Assisted Solution

by:Ryan McCauley
Ryan McCauley earned 250 total points
ID: 35072068
I'd be in favor of a periodic SSIS job that moves all your data from one location ot the other. Replication (in the SQL Native Replication sense of the term) is designed for exactly copied schemas in different locations. To put it another way, replication is built to re-play your local transactions against a remote dataset so everything stays in sync - when you change the data layout at the remote location, it can no longer replay the transaction, so you can't use native replication.

To replicate from one table to another of a different layout, you'll need to either roll your own replication (SSIS or a custom SP in a SQL Agent job), or invest in a product that does that kind of thing for you (like Oracle Goldengate).
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question