Bonjour à tous,

Sous Oracle j'ai créé la procédure ci-dessous :

mais la partie LIKE est KO.

Seriez vous m'aider?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
delete pmvtsto 
where 1=1
and numfiche is null
and pmvtsto.rdate >= '01/12/2017'
and pmvtsto.rdate <= '01/02/2018'
--and pmvtsto.rdate >= sysdate-2
and pmvtsto.arcode = ligneRec.arcode
and libmvt like '%lignerec.focode%'
;
End loop;
Commit;
End
Merci!!