select distinct * into bak_table1 from table1 
truncate table bak_table1
insert into table1 (字段1,字段2,……) select (字段1,字段2,…… ) From Bak_table1

解决方案 »

  1.   

    不行啊!怎么删除重复的数据啊?
    qid type title
    2 0         DNS修
    3 0         域名注册后可
    2 0         DNS修
    3 0         域名注册后可
    ………………
      

  2.   


    到设计表中把cid列的标识属性改成否即可
    或者
    SET IDENTITY_INSERT culture ON
    然后就可以删除数据啦
      

  3.   

    /*****************************************************/
     delete from culture 
      where qid = 2 and title = '域名注册后可' or
            qid = 3 and title = 'DNS修'
    /*****************************************************/这样不能删除你的数据么?