Subject: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?
Subject: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.