Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replicated Table

Status
Not open for further replies.

sendba

Programmer
Sep 7, 2005
113
US
All

Is there a way to drop and recreate indexes(including PRIMARY key) on a table which is used in Transactional Replication.
Please let me know

Thanks alot in advance

Sen
 
No, if you want to drop the index you will need to remove the table from replication. What is it you are trying to accomplish?

- Paul
- Database performance looks fine, it must be the Network!
 
I want to do a maintenace on the database.
 
you can use DBCC INDEXDEFRAG and DBCC DBREINDEX to rebuild indexes. Both commands will get rid of fragmentation.

Use DBCC SHOWCONTIG to view fragmentation of a table.

- Paul
- Database performance looks fine, it must be the Network!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top