MySQL Forums
Forum List  »  PHP

mysql 5.0.10 stored procedure
Posted by: vibra narayanan
Date: August 07, 2005 11:16PM

hi all

i am ussing mysql 5.0.10 in windows syste. i ma usign mysql front 3.1

while creatign the stored procedure i am getting the error in syntex. please any one help me

and also it wont accept the key word DECLARE.please any one advice me

my procedure is like below


CREATE PROCEDURE simpleproc (OUT param1 INT)
BEGIN
SELECT COUNT(*) INTO param1 FROM admin_profile;
END


please aadvice me. i am delaied because of this



i am waitng for your responce

Options: ReplyQuote


Subject
Written By
Posted
mysql 5.0.10 stored procedure
August 07, 2005 11:16PM


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.