Lorsque je fais un update, j'obtiens cette erreur :
ORA-01427: single-row subquery returns more than one row
Voici ma requete:
J'ai besoin de votre aide...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 UPDATE FRH SET (STATUT_ID,SALARIE_ID) = (SELECT statut_id, salarie_id FROM frh f, salarie s WHERE s.sal_id=f.salarie_id AND f.statut_id IS NOT NULL AND f.temps_id = (select MAX(temps_id) from frh where frh.salarie_id=f.salarie_id and temps_id<= '31/12/2006' and frh.statut_id IS NOT NULL) ) where (remu_id=4 or remu_id=3) and temps_id='31/12/2006'




Répondre avec citation



)


je l'oublie tout le temps celui-là 
Partager