MySQL Forums
Forum List  »  Stored Procedures

Re: Creating stored procedures. MySQL Error Number 1064
Posted by: Peter Brawley
Date: November 30, 2005 10:45AM

You're missing some punctuation (http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html). Try...

DELIMITER |
CREATE PROCEDURE spVin()
DETERMINISTIC
BEGIN
SELECT * FROM cc;
END;
|
DELIMITER ;

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Creating stored procedures. MySQL Error Number 1064
1802
November 30, 2005 10:45AM


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.