IX_T_Dic_App
PK_T_Dic_App
_WA_Sys_ParentClass_3449B6E4我发现我的所有表中大致有3中类似这样的的索引。我想把他们的名字都规范一下。不知道怎么做。

解决方案 »

  1.   

    create table ta(
    id char(10) not null constraint PK_ta primary key nonclustered--pk_ta为索引名
    )create index IX_ta on dbo.ta(列名)--IX_ta 为索引名
      

  2.   

    _WA_Sys_ParentClass我是想对现有的所有索引进行批量改名。
      

  3.   


    _WA_Sys_ParentClass是什么东西,我没有见过啊,这种的索引很多。