Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Replication (2008)
 Location of replication tables
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

danielludin
Starting Member

Switzerland
1 Posts

Posted - 09/25/2012 :  07:37:56  Show Profile  Reply with Quote
Upon set up of a replication, a couple of tables gets created
inside the distribution database.

Is there a way to store these tables in a different place, for
example in a separate database?

Background: I have to write a routine that copies the same database
into another one, but I do not want to copy these replication tables
together with the actual data.

Thanks
Daniel

tkizer
Almighty SQL Goddess

USA
38200 Posts

Posted - 09/25/2012 :  11:52:19  Show Profile  Visit tkizer's Homepage  Reply with Quote
You can name that database whatever you want. Drop your distributor and then set it up again.

I don't see why you'd want to do this though. These aren't your tables in there. These tables are for replication purposes only.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000