Bonjour à tous.

Voici ce qui m'amène, je tente cette requête :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
update JDCQ_TBOD99TC_GTS S --131 574 lignes
set       IDINTGTC = (
select IDINTGTC
from ODS.TBOD99TC T -- 53 043 lignes
where S.NOCTRCAD   = T.NOCTRCAD
  and       S.COTYP         = T.COTYP
  and       S.IDGARGEN   = T.IDGARGEN
  and       S.COCAT         = T.COCAT
  and       S.COTRA         = T.COTRA
  and       S.TYSTRTAR    = T.TYSTRTAR
  and       NVL(S.TYAPPCOT,'S')   = T.TYAPPCOT
  and       S.INGROTARAJO         = T.INGROTARAJO
  and       T.FLDERIMG    = 1
  and       T.DTFINIMA      = to_date ('12-31-9999', 'mm-dd-yyyy'))
Le SELECT ne ramène rien, l'UPDATE ne se réalise pas.

Le problème est qu'Oracle est dans les choux, rien ne se passe.

Je ne comprends pas.