摘要:
添加外键约束alter table dbo.Account_UserRole add foreign key(UserID)references dbo.Account_User(UserID)删除索引drop index [User_Publish_ischeck] ON [dbo].[User_Publish]删除主键alter table User_Publish drop constraint PK_User_Publish创建索引CREATE NONCLUSTERED INDEX [User_Publish_ischeck] ON [dbo].[User_Publish] ( [Is 阅读全文