Common Romandie
RPG IV - Common Romandie
RPG IV - Common Romandie
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Le CURSORPremière étape, la déclaration d’un curseur : c’est ce curseur qui vapermettre l’accès aux données du ou des fichier (s) que l’on va utiliser. Uncurseur est similaire à l’ODP.DECLARE (Nom) CURSOR FOR (Requête)Exemple :C/EXEC SQLC+ DECLARE C1 CURSOR FORC+ SELECT NUM, NOM, SALAIREC+ FROM EMPC+ WHERE SALAIRE > 10000C+ ORDER BY SALAIRE ASCC/END-EXECExperia Europe 46 <strong>Common</strong> <strong>Romandie</strong> 15/06/2010