all groups > sql server replication > september 2005 >
You're in the

sql server replication

group:

Replication error on tables with different owners


Replication error on tables with different owners Patrick
9/14/2005 4:36:16 PM
sql server replication: Hi Freinds,
SQL2000

I want to replicate a database that has tables with different schemas.

user1.invoice
user2.invoice
user2.invoice
user1.invoice_detail
user2.invoice_detail
..
..
..

When t run the snapshot, itcreates the tables for dbo and causing problems.
What are my options to roll over this error and problem?

Thanks in advance,
Pat

Re: Replication error on tables with different owners Hilary Cotter
9/14/2005 10:23:47 PM
I assume you mean

user1.invoice
user2.invoice
user3.invoice

If this is the case, put the accounts in place in your subscriber using a
pre snapshot command. Then use sp_addarticle to create the different tables.
The @destination_owner parameter allows you to specify different owner
names.





--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
[quoted text, click to view]

Re: Replication error on tables with different owners Patrick
9/15/2005 10:34:10 AM
So , basicly it is a manual proces for creating the article and pushing the
replication !


[quoted text, click to view]

Re: Replication error on tables with different owners Hilary Cotter
9/15/2005 8:42:56 PM
Well, not really. Most of the functionality is wizard driven, however to do
things outside of the scope of the wizards you have to do some manual steps.

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

[quoted text, click to view]

AddThis Social Bookmark Button