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 |
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2008-01-20 : 02:17:56
|
| i have a table called imagesit has over 200,00 rows - i need to add 2 new fields and could not do it.i created a new table and moved over the records but i can't delete or truncate or rename the table eitherEXEC sp_rename 'images', 'imagesold' is just taking foreverplease advise |
|
|
esthera
Master Smack Fu Yak Hacker
1410 Posts |
Posted - 2008-01-20 : 03:08:52
|
| solved this...i restarted sql server and then ran it - my guess it that someone was connected. |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-01-20 : 20:17:10
|
| Check with 'sp_who2 active' while rename is running, maybe blocked by other processes. |
 |
|
|
|
|
|