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

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 While adding index to table ,does it lock the tabl

Author  Topic 

kumarich1
Yak Posting Veteran

99 Posts

Posted - 2007-11-27 : 13:22:41
While adding index to table does it lock the table.I am trying to add index to a production table does it lock the table or best practise is adding the index after hours.

Thanks in advance

dinakar
Master Smack Fu Yak Hacker

2507 Posts

Posted - 2007-11-27 : 13:58:13
YEs it does. You should not create indexes during production hours..

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page
   

- Advertisement -