What is the mysql equivalent of Sql Server's @@Identity and @@error and how to use try catch in mysq

Posted by Shantanu Gupta on Stack Overflow See other posts from Stack Overflow or by Shantanu Gupta
Published on 2010-04-05T11:12:33Z Indexed on 2010/04/05 11:23 UTC
Read the original article Hit count: 311

Filed under:
|
|
|

I am looking for few global variable in mysql which are equivalent of sql server.

I want the whole list eg.

Sql Server Equivalent

@@error ---

@@Identity ---

etc.

Basically right now I want to know what are the equivalent variable of @@error and @@identity.

But it will be helpfull if u could provide some other variable also

© Stack Overflow or respective owner

Related posts about mysql

Related posts about sql-server