MySQL Forums
Forum List  »  Oracle

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>
...

Options: ReplyQuote


Subject
Views
Written By
Posted
195137
January 22, 2006 09:51AM
72162
January 25, 2006 07:42AM
65085
January 25, 2006 09:19AM
65082
January 27, 2006 12:44PM
Re: update with select in MYSQL
46652
September 27, 2006 09:44PM
33000
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.