Hi Matisse,

If I wish to use a user defined function in an XQuery (for example, any of
> the functions from http://www.xqueryfunctions.com/) the only option I see
> is to include the function definition in the query I pass to sedna.


Why, you can use modules -
http://sedna.org/progguide/ProgGuidesu8.html#x14-570002.5.5



> This seems inefficient.
> What is the performance impact of adding function definitions to every
> query?
>

Depends on query itself. Usually, it's pretty small.


> Is there a better way?
> Perhaps a way to have a local library of functions that are always
> available for a particular database?
>

Try modules in Sedna.

Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to