Project

Profile

Help

XQuery functions optional parameters

Added by Anonymous about 20 years ago

Legacy ID: #2865987 Legacy Poster: Kesav Kumar (kesav)

Is it possible to declare a function with parameters optional or with default values? Like printf function in C language.


Replies (1)

RE: XQuery functions optional parameters - Added by Anonymous about 20 years ago

Legacy ID: #2866585 Legacy Poster: Michael Kay (mhkay)

You can't declare function parameters to be optional. You can however declare two functions with the same name but with different numbers of parameters. Michael Kay

    (1-1/1)

    Please register to reply