sql返回新增ID

  INSERT INTO student (name,password) VALUES('错误','6')  SELECT @@IDENTITY AS ID

posted @ 2016-08-24 18:07  糖果小宝  阅读(189)  评论(0)    收藏  举报