会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Blogger
博客园
首页
新随笔
联系
订阅
管理
2016年4月7日
SQL Server output子句用法 output inserted.id 获取刚插入数据的id
摘要: --插入数据,并返回刚刚插入的数据id INSERT INTO [soloreztest] ([name]) output inserted.id VALUES ('solorez') --执行结果: --id --5 (1 行受影响) 第二种方法:insert into table1 values
阅读全文
posted @ 2016-04-07 21:45 BloggerSb
阅读(2332)
评论(0)
推荐(0)
公告