Functions do not accept optional parameters . Even if a parameter has a default values, you have to specify something when you call the function.
Can SQL function have optional parameters?
Functions do not accept optional parameters . Even if a parameter has a default values, you have to specify something when you call the function.