Quote:
|
Originally Posted by iskander
Thanks mate, that is pretty much what I have done. However, you still need to pass the argument in the call. I guess I can live with this shortcoming.
|
If you want to do it where the argument is left out altogether, then you basically have a different SP--it has a different signature. You can create one like that, it just has to have a different SPECIFIC NAME. It can have the same called name. You could even have the SP with the missing parameter call the other one and supply the value for the missing parameter with the default.
Andy