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.
| Author |
Topic |
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2009-10-09 : 05:42:44
|
| Is there a way to change the name of an index without having to drop it and recreate it?Hearty head pats |
|
|
sanoj_av
Posting Yak Master
118 Posts |
Posted - 2009-10-09 : 05:47:36
|
| EXEC sp_rename N'schemaname.tableName.IndexName', N'NewIndexName', N'INDEX';example sp_rename 'dbo.DIM_PRODUCT.IDX_PRODUCT_KEY','PRODUCT_KEY_IDX','INDEX' |
 |
|
|
Bex
Aged Yak Warrior
580 Posts |
Posted - 2009-10-09 : 06:04:27
|
Thank you Hearty head pats |
 |
|
|
|
|
|