共鸣

导航

2011年12月22日 #

数据库-学习笔记 返回插入记录的自增id

摘要: 下面的指令都是加在插入语句的最后:PostgreSql : returning id;SqlServer : select @@IDENTITY as id;SQLite :select last_insert_rowid() as id; 阅读全文

posted @ 2011-12-22 15:44 共鸣 阅读(232) 评论(0) 推荐(0) 编辑