I am having a problem when creating the delimiter since it appears to me that I have an incorrect syntax when executing it.
delimiter %%
create procedure sel_sa(
@cedula_sa varchar(20))
as
begin
select * from superadmin where @cedula_sa = cedula_sa;
end%%
But when giving the execution it gives me an error that the syntax is wrong from %, I would like help, I would appreciate it.
I don't know what you use that Delimiter for, I did the instruction as follows and it runs fine, I hope it helps
Greetings.