nono, I think … <_<
If someone wants to put a lot of ordinary SQL in a Create SP or Create Triger statement it runs somewhat like:
DELIMITER $$;
CREATE procedure … (….)
BEGIN
ordinary_SQL_1; — with semicolon!
ordinary_SQL_2;
ordinary_SQL_3;
etc
END$$
DELIMITER ;$$
Then they can copy structure from an existing database, do all the changes from GUI on that copy, record 'ordinary_SQL_n's' to HISTORY and copy from HISTORY into Create SP or Create Trigger statement. It simply takes the use of semicolon “;”
“;” is always used between BEGIN .. END (and inside cursors too), other DELIMITERS is outside BEGIN .. END
That could be first step in a SP builder GUI (where the copy structure could be transparent to user and where SQL is directly inserted to CREATE PROCEDURE bypassing HISTORY)