XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Yi ChenSubject: Is there any way that we could invoke an updating function and a query function in the same xquery?
Author: Yi Chen
Date: 04 Jan 2010 10:16 AM
Is there any way that we could invoke an updating function and a query function in the same xquery?

Actually, I have an xquery that retrives data from the ms-sql database and meanwhile I'd like to insert what I retrieved back to the database. I found that if an xquery contains the updating functions/invokations, it can not contain any query expression anymore. Is it?

Thanks!

Postnext
Ivan PedruzziSubject: Is there any way that we could invoke an updating function and a query function in the same xquery?
Author: Ivan Pedruzzi
Date: 05 Jan 2010 11:32 AM

Unfortunately the answer is no, you need to use two separate queries.


Ivan Pedruzzi
Stylus Studio Team

Posttop
Yi ChenSubject: Is there any way that we could invoke an updating function and a query function in the same xquery?
Author: Yi Chen
Date: 05 Jan 2010 08:32 PM
>
>Unfortunately the answer is
>no, you need to use two
>separate queries.
>
>
>Ivan Pedruzzi
>Stylus Studio Team


yeah, it is what I can find on the internet. OK, I will try other solutions. Thank you!

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.