存储过程是应用程序和数据库的中间层,一般用来执行不返回数据的业务过程。
set @myvar=(select field from table where xxx)自动增长需要在建表时指定:
create table test
(
id int identity(1,1) not null
)id字段从1开始,每次增长1
set @myvar=(select field from table where xxx)自动增长需要在建表时指定:
create table test
(
id int identity(1,1) not null
)id字段从1开始,每次增长1
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货