sql返回新增ID

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

posted @ 2016-08-24 18:07  it写代码  阅读(183)  评论(0编辑  收藏  举报