SqlServer系统商品组-添加索引

--系统商品组-添加索引
if not exists(select top 1 1 from sys.indexes where name='IDX_ProGroupContentList_GroupId')
begin
    CREATE NONCLUSTERED INDEX IDX_ProGroupContentList_GroupId
    ON [dbo].[ProGroupContentList] ([GroupId])
end
go

 

posted @ 2018-09-13 13:44  735882640  阅读(285)  评论(0编辑  收藏  举报