Salut à tous,
en exécutant mon code ci-dessous sur TOAD (Version 9.6.1.1) :
J'ai l'erreur suivante au niveau de la ligne concernant la création du spool :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 declare cursor c_releve is select distinct * from ODG_TRENTE_COMPTE; begin for r in c_releve Loop spool r.compte ||'.csv'; select detail from w_releve w, ODG_TRENTE_COMPTE o where w.compte=o.compte order by compte,ligne; spool off; end loop; end; /
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 ORA-06550: line 8, column 15: PLS-00103: Encountered the symbol "R" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "R" to continue. ORA-06550: line 12, column 15: PLS-00103: Encountered the symbol "OFF" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "OFF" to continue.
Partager