select * into #t from InfoClass1
truncate table InfoClass1
alter table InfoClass1 drop column InfoID
alter table InfoClass1 add column InfoID int identity(1,1) not null
set identity_insert InfoClass1 on
insert into InfoClass1(字段列表) select 字段列表 from #t
drop table #t
有数据的话
ALTER TABLE 表 ADD 编号1 bigint identity(1,1) not null
go
SET IDENTITY_INSERT 表 ON
go
update 表 set 编号1=编号
go
SET IDENTITY_INSERT 表 OFF
go
ALTER TABLE 表 DROP COLUMN 编号
go
exec sp_rename '表.编号1','编号'
go