salut a tous,
je fonctionne sur une bdd oracle
ma requete ici ne marche pas :
update PS_tao1 SET cust_id = b.cust_id
from ps_tao1 a, ps_tao2 b
where a.process_instance = b.process_instance
and a.setid = b.setid
and a.keya= b.keyb
je ne peux pas me contenter de :
update PS_tao1 SET cust_id = (select b.cust_id
from ps_tao1 a, ps_tao2 b
where a.process_instance = b.process_instance
and a.setid = b.setid
and a.keya= b.keyb) car je ramène plusieurs lignes.
merci,
++
"Aucun de nous ne sait ce que nous savons tous, ensemble."
Lao Tseu inventeur du "copier coller" [8D]