
18/09/2009, 05:36
|
| | Fecha de Ingreso: junio-2009
Mensajes: 174
Antigüedad: 15 años, 8 meses Puntos: 0 | |
Respuesta: excepciones en los procedures ? He intentado introducir dentro del begin-end del procedure
SET @flag=0;
DECLARE CONTINUE HANDLER FOR SQLSTATE '23000' SET @flag = 1;
pero me dice que no le gusta:
Script line: 2 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DECLARE CONTINUE HANDLER FOR SQLSTATE '23000' SET @flag = 1;
IF (F='F' at line 6 //Esta fila es la siguiente del procedure.
Alguna idea ? |