IDentity()使用实例
select IDENTITY(int,1,1) as abc ,* into #H from stu
select * from #H
drop #H
本文提供了一个关于 SQL Server 中 IDENTITY 函数的实际应用案例,通过创建临时表并利用此函数来实现自动增长的字段。
IDentity()使用实例
select IDENTITY(int,1,1) as abc ,* into #H from stu
select * from #H
drop #H
1896

被折叠的 条评论
为什么被折叠?