The First,
可以只要分吗。
我不明的你的意思
谢谢

解决方案 »

  1.   

    怎么没人回答我的问题,我的意思是在
    tabel A
    a    b    c 
    ww   null rr
    vv   null yy
    cc   null bb
    dd   null qq
    ee   null jj 
    .
    .
    .
    的基础上使b字段递增。
      

  2.   

    ALTER TABLE A ADD b1 int identity(1,1) not null
    update tablename set b=b1
    alter table A drop column b1
      

  3.   

    ALTER TABLE A ADD b1 int identity(1,1) not null
    update a set b=b1
    alter table A drop column b1
      

  4.   

    ALTER TABLE table ADD tmp int identity(1,1) not nullalter table cloth drop column bEXEC sp_rename 'table.[tmp]', 'd', 'COLUMN'