How to create optional parameter in mysql stored procedure?
A:
Optional parameters are not supported in mySQL stored procedures, nor are there any current plans to add this functionality at this time. I'd recommend passing null for optional parameters.
Cory House
2008-10-09 18:55:57