MySQL Forums
Forum List  »  French

Variable table en paramètre OUT. Procedures stockees / Stored Procedures
Posted by: mathias fryde
Date: August 29, 2008 02:41AM

Hello, je cherche à utiliser une table en paramètre de sortie pour une procédure stockée mais mon code ci dessous marche pas.
si quelqu'un a la solution ... je suis preneur.

DELIMITER $$

DROP PROCEDURE IF EXISTS `mfr`$$

CREATE PROCEDURE `mfr`( IN nb_period INT, OUT okay Table (col1 int, col2 varchar(255)) )

BEGIN
INSERT INTO okay (col1, col2 ) VALUES (1, 'toto');
END$$

DELIMITER ;

Options: ReplyQuote


Subject
Views
Written By
Posted
Variable table en paramètre OUT. Procedures stockees / Stored Procedures
5731
August 29, 2008 02:41AM


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.