In an older version of MySqlServer (5.04) this procedure was ok. Now in 5.1 I obtain the eeror code 1307.
Do you know what it means? Is possible to obtain a list of all error codes?
the Procedure:
DELIMITER $$
CREATE
PROCEDURE `seo`.`TIEMPO_DET_DIA_DEL`(
IN nID_DET INT(11),
IN nID_DIA TINYINT(1))
LANGUAGE SQL MODIFIES SQL DATA
BEGIN
DELETE FROM seo.TIEMPO_DET_DIA
WHERE ID_DET = nID_DET
AND ID_DIA = nID_DIA ;
END$$
DELIMITER ;