master
Pascal LAFOURCADE 4 years ago
parent 6a3713a014
commit f1066676a2

@ -110,8 +110,8 @@
\par\smallskip}
%\cachefalse % version prof
\cachetrue % version etudiant
\cachefalse % version prof
%\cachetrue % version etudiant
\makeindex
@ -418,7 +418,7 @@ après.
\begin{SaveVerbatim}{countprod}
int main(void) {
int nbProd;
EXEC SQL WHENEVER SQLERROR DO sql.error(``Oracle error \n'');
EXEC SQL WHENEVER SQLERROR DO sql_error(``Oracle error \n'');
connexion();
EXEC SQL SELECT COUNT(*) INTO :nbProd FROM TPRODUIT;
printf("Il y a %d produits en base.\n", nbProd);

Loading…
Cancel
Save