"pass"'
gives me The XQuery syntax '/function()' is not supported.
Is it not supported?
If it is not supported what is the best way to update a specific node out of many based on certain criteria?
like update Student Grade to A for Student node with name "John" and not any other, without having to use dynamic SQL.
Tim
|||
reproducing answer to this by Pohwan on another discussion alias. This is exactly what I wanted and it works if somebody else is in is same boat
*****************
Workaround,
/node/*[local-name()=sql:variable("@.varname")]/@.Status
instead of
/node/sql:variable("@.varname")/@.Status
--
Pohwan Han. Seoul.
**************
|||Thanks, that worked wonders for me
No comments:
Post a Comment