MySQL Forums
Forum List  »  Spanish

Re: leer los codigos de error
Posted by: William Chiquito
Date: January 03, 2007 06:19PM

Hola katapalo,

Lamentablemente por el momento MySQL no tiene un mecanismo como en Microsoft SQL Server de @@ERROR para capturar el último código de error generado.

Ya está solicitada la funcionalidad en http://bugs.mysql.com/bug.php?id=11660 esperemos que la incluyan en MySQL 5.2

En la actualidad lo más cercano que tenemos es una instrucción SHOW: SHOW ERRORS - http://dev.mysql.com/doc/refman/5.0/es/show-errors.html

Options: ReplyQuote


Subject
Views
Written By
Posted
7141
January 03, 2007 11:33AM
Re: leer los codigos de error
3272
January 03, 2007 06:19PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.