SELECT @@IDENTITY 用法
来源:百度文库 编辑:神马文学网 时间:2024/04/24 00:52:34
@@identity是表示的是最近一次向具有identity属性(即自增列)的表插入数据时对应的自增列的值,是系统定义的全局变量。一般系统定义的全局变量都是以@@开头,用户自定义变量以@开头。比如有个表A,它的自增列是id,当向A表插入一行数据后,如果插入数据后自增列的值自动增加至101,则通过select @@identity得到的值就是101。使用@@identity的前提是在进行insert操作后,执行select @@identity的时候连接没有关闭,否则得到的将是NULL值。
SELECT @@IDENTITY 用法
SELECT @@IDENTITY 用法
Sql server一些Select检索高级用法1
select函数
FUSE SELECT
关于select
Identity theories of mind
Identity Landscape - IdCommons
《致命ID》ID Identity
The New Identity Thieves - ReadWriteWeb
select - HTML元素
linux—select详解
socket之select函数
select poll使用
linux select使用
Select Bipartisan Committee
关于linux中的select
Identity Theft Resource Center | A Nonprofit Organization
Microsoft 对 Identity Metasystem 的前瞻
Telcos Face a Web 2.0 Identity Crisis
Identity management - Wikipedia Mar 2,2009
NATO seeks to tackle identity crisis
两个SELECT互相传值
信息类别判断select选中