I have an error in my stored procedure using (mysql 5.6). and I am using Workbench 6.3 CE. My code is as below
stored procedure
DELIMITER // (this line sh
Your problem is not the line
DELIMITER //
but the line
delimiter;
You've left out a space; it should be
delimiter ;
Try
DELIMITER $$ CREATE PROCEDURE Demo(in v_id int) BEGIN SELECT name from student where id=v_id; END $$ DELIMITER ;