Can I use named parameters for stored procedures in MySQL? I need to call stored procedures something like this:
CALL stored_procedure(@param1 = "foo1", @param2 = "foo2");
The answer is
CALL stored_procedure(@param1 := "foo1", @param2 := "foo2");
Thanks for Pentium10.
This is not possible formally.
But there is a workaround that can help. Use this: