Groups | Blog | Home
all groups > sql server replication > february 2007 >

sql server replication : How to replicate indexes


kulkarni.ninad NO[at]SPAM gmail.com
2/12/2007 9:46:35 AM

Hi,

currently, we have some tables which are part of transactional
replication now we want to build indexes on those tables but my
concern is after building indexes on publication side will changes get
replicated to subscription side or not? and also what is the best way
to build indexes on such tables?

Thanks
kulkarni.ninad NO[at]SPAM gmail.com
2/12/2007 10:54:12 AM
[quoted text, click to view]

My bad, I forgot to tell you that we are using oracle subscriber and
the thing is we are using
Informatica which is replicating the data through power exchange to
oralce so i cannot use any system stored
procedures like sp_repladdcolumn or sp_dropaddcolumn. Is there any
other way to change the data type of column
besides using these stored procedures?

Thanks
Hilary Cotter
2/12/2007 1:22:49 PM
Indexes created on the publisher will not be replicated to the subscriber.
You will have to manually create them there, or use sp_addscriptexec to
replicated them to subscriptions deployed via unc copies.

--
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