DEV Community

Cover image for How to create Stored Procedure in MySQL
The Dream Coding
The Dream Coding

Posted on

How to create Stored Procedure in MySQL

=> syntaxe

drop procedure if exists name_proc;
delimiter $$
create procedure name_proc(parametrs ..)
begin
    -- statement
end 
$$

delimiter ;
Enter fullscreen mode Exit fullscreen mode

=> To execute the stored procedure

Call name_proc(parametrs ..);
Enter fullscreen mode Exit fullscreen mode

i explaine how to create Stored Procedure in MySQL on youtube

click this => vidéo

this is my channel on youtube

click this => The Dream Coding

Top comments (0)