master
Pascal Lafourcade 5 years ago
parent 87732b4d71
commit 27cde58de9

@ -163,19 +163,36 @@ SET feedback on;
\begin{lrbox}{\avecalter} \begin{lrbox}{\avecalter}
\begin{minipage}{\textwidth} \begin{minipage}{\textwidth}
\begin{verbatim} \begin{verbatim}
SET echo off;
SET verify off;
SET feedback off;
DECLARE DECLARE
Dnbmineur Dnbmineur
MINEUR EXCEPTION MINEUR EXCEPTION
BEGIN BEGIN
SELECT count(*) into Dnbmineur FROM ETUDIANT WERE AGE < 18; SELECT count(*) into Dnbmineur
IF Dnbmineur > 0 THEN RAISE MINEUR FROM ETUDIANT
WERE AGE < 18;
IF Dnbmineur > 0
THEN RAISE MINEUR
END IF; END IF;
EXCEPTION EXCEPTION
WHEN MINEUR THEN WHEN MINEUR THEN
INSERT INTO tligne VALUES(); INSERT INTO tligne VALUES();
End;
END;
. .
/ /
SET echo on;
SET verify on;
SET feedback on;
\end{verbatim} \end{verbatim}
\end{minipage} \end{minipage}
\end{lrbox} \end{lrbox}

Loading…
Cancel
Save