sql 2005 force table rename that has dependencies

后端 未结 5 1802
一个人的身影
一个人的身影 2020-12-28 14:59

How do you force a rename???

Rename failed for Table \'dbo.x. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+

5条回答
  •  既然无缘
    2020-12-28 15:38

    I had an issue like this. I dropped constraints on this DB object, renamed the DB object then recreated these constraints. This solved my problem.

提交回复
热议问题