insert into a values('aaaaa')
print @@identity; //打印刚生成的主键值.
**
update a set c='AAAAAAAAAAAA' where b=15
print @@identity;
转载于:https://www.cnblogs.com/MySpace/archive/2009/11/10/1599797.html
转载于:https://www.cnblogs.com/MySpace/archive/2009/11/10/1599797.html