Re: update with select in MYSQL
Posted by:
thomas bui
Date: September 27, 2006 09:44PM
I have the same problem. I tried as you sugested using the constant value in the mysql command line. It works. But not in the xslt. some suggestion/solution is appreciated. Thanks.
Thomas Bui
...
<sql:execute-query>
<sql:query isupdate="true"> UPDATE MYTABLE_MATCH SET GROUP_ = ( SELECT
GROUP_ FROM MYTABLE_MATCH WHERE KEY_= ./sql:key_a )
WHERE GROUP_ =( SELECT GROUP_ FROM MYTABLE_MATCH WHERE KEY_= ./sql:key_b)
</sql:query>
</sql:execute-query>
...
Subject
Views
Written By
Posted
195329
January 22, 2006 09:51AM
72219
January 25, 2006 07:42AM
65141
January 25, 2006 09:19AM
65155
January 27, 2006 12:44PM
Re: update with select in MYSQL
46727
September 27, 2006 09:44PM
33065
May 13, 2009 02:51PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.