1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| CREATE OR REPLACE procedure anass
(lemat IN NUMBER, ddebut IN DATE, dfin IN DATE)
AS
BEGIN
SELECT POINTAGE.POINTAGE_DATE , POINTAGE.POINTAGE_CLOCKIN , POINTAGE.POINTAGE_CLOCKOUT , EMPLOYEE.EMPLOYEE_NAME , EMPLOYEE.EMPLOYEE_ID
FROM POINTAGE,EMPLOYEE
WHERE EMPLOYEE.EMPLOYEE_ID=POINTAGE.EMPLOYEE_ID
and EMPLOYEE.EMPLOYEE_ID= lemat
and POINTAGE.POINTAGE_DATE between ddebut and dfin;
END;
/
Avertissement : Procédure créée avec erreurs de compilation.
SQL> show error
Erreurs pour PROCEDURE ANASS :
LINE/COL ERROR
-------- -----------------------------------------------------------------
6/3 PLS-00103: Symbole "SELECT" rencontré à la place d'un des
symboles suivants :
mod <an identifier> <a double-quoted delimited-identifier>
<a bind variable> current sql execute forall merge
<a single-quoted SQL string> pipe
11/2 PLS-00103: Symbole "END" rencontré |
Partager