Create a stored procedure in phpMyAdmin

from the Artful MySQL Tips List


In phpMyAdmin 2.11, this works:
DROP PROCEDURE IF EXISTS helloworld;
DELIMITER //
CREATE PROCEDURE helloworld()
BEGIN
  SELECT 'hello world';
END;
//
DELIMITER ;

Last updated 22 May 2009


Return to the Artful MySQL Tips page