Je trouve le lien suivant très utile, mais je voudrais demander plus à cemise à jour balise xml dans Oracle - se joindre à une autre table
Update xml tag in a CLOB column in Oracle
En utilisant les mêmes données post précédent:
create table tmp_tab_noemail_test (sce_msg clob);
insert into tmp_tab_noemail_test values (
'<Energy xmlns="http://euroconsumers.org/notifications/2009/01/notification">
<Gender>M</Gender>
<FirstName>MAR</FirstName>
<Name>VAN HALL</Name>
<Email/><Telephone>000000000</Telephone>
<InsertDate>2013-10-09</InsertDate>
</Energy>');
update tmp_tab_noemail_test p1
set p1.sce_msg = updatexml(xmltype(p1.sce_msg),
'/Energy/InsertDate/text()','Not Valid',
'xmlns="http://euroconsumers.org/notifications/2009/01/notification"').getClobVal();
Maintenant, que se passe-t-il si je veux rechercher une autre table Compte. Il a la colonne: acct_num
, name
, date_of_birth
Comment puis-je mettre à jour InsertDate tag value = Account.date_of_birth where Name tag value = Account.name
?
Est-il possible de faire? Merci!