06.08.2015 Views

Common Romandie

RPG IV - Common Romandie

RPG IV - Common Romandie

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1 ère étape : déclarer l’instruction : DECLARE (Nom) STATEMENT.C/EXEC SQL DECLARE req1 STATEMENT2 ème étape : comme en statique on déclare un curseur mais avec le nom del’instruction : DECLARE (Nom curseur) FOR (Nom instruction )C/EXEC SQL DECLARE C2 CURSOR FOR req13 ème étape : Après avoir alimentée une chaîne de caractères contenant larequête, préparer l’instruction avec la chaîne de caractèrescorrespondante : PREPARE (Nom) FROM (variable hôte)C/EXEC SQL PREPARE req1 FROM :chaineLa suite est identique au SQL Statique.Experia Europe 52 <strong>Common</strong> <strong>Romandie</strong> 15/06/2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!