想为临时表#t加identity(int,2,1)zd 字段
------最佳解决方案--------------------
alter table #t alter column 列名 int identity(2,1)
------其他解决方案--------------------
在程序用写DDL语句不就行咯?
------其他解决方案--------------------
只要在临时表对应的作用域中使用ddl语句修改即可。
------其他解决方案--------------------
具体怎么写啊