Help - Search - Members - Calendar
Full Version: Syntax Bug
Webyog Forums > SQLyog > SQLyog: Bugs / Feature Requests
peterlaursen
This SQLyog "template" for CREATE PROCEDURE is 'bugous'

CODE
DELIMITER //;
DROP PROCEDURE IF EXISTS `test`.`myproc`//
CREATE PROCEDURE `test`.`myproc`()
BEGIN
END//
DELIMITER;//


According to MySQL documentation correct is
CODE
DELIMITER //;
DROP PROCEDURE IF EXISTS `test`.`myproc`//
CREATE PROCEDURE `test`.`myproc` ()
BEGIN
END//
DELIMITER;//


There shall be a blank character between procedure-name and ()

I haven't come across any situation where it matters. But better do it right!
MySQL's own so-called GUI programs do that.
Ritesh
Will be fixed in BETA 3.

We are able to create SPs with that syntax itself biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.