Hello, I am learnig how to use mysql procedures (google book) and one example goes as:
DELIMITER $$
DROP PROCEDURE IF EXISTS my_sqrt$$
CREATE PROCEDURE my_sqrt(input_number INT, OUT out_number FLOAT)
BEGIN
SET out_number=SQRT(input_number);
END$$
DELIMITER ;
Which compiles fine... (I am using mySQL Query Browser in ubuntu). But, when I call the procedure:
CALL my_sqrt(4,@out_value);
(also in query browser)
It returns an error (1064) check the manual that correspond to the...
I don't understand why (if the calling procedure described in book is correct It should work for me to...)