阅读背景:

mysql @@ identity vs sql-server last_insert_id()

来源:互联网 

Am I correct in understanding that mysql's LAST_INSERT_ID() function doesn't reset between insert attempts (as @@identity does in sql-server)... that if the immediately preceding insert operation fails, LAST_INSERT_ID() will return the pk of whatever the pk of that connection's last insert to Am I correct in understanding that mysql's LAST




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: