1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
SQL> CREATE procedure anas
2 (
3 lemat OUT EMPLOYEE.EMPLOYEE_ID%Type,
4 ddebut OUT POINTAGE.POINTAGE_DATE%Type,
5 dfin OUT POINTAGE.POINTAGE_DATE%Type;
6 ) IS
7 lemat OUT EMPLOYEE.EMPLOYEE_ID%Type,
8 ddebut OUT POINTAGE.POINTAGE_DATE%Type,
9 dfin OUT POINTAGE.POINTAGE_DATE%Type;
10 BEGIN
11
12 SELECT POINTAGE.POINTAGE_DATE , POINTAGE.POINTAGE_CLOCKIN , POINTAGE.POINTAGE_CLOCKOUT , EMP
LOYEE.EMPLOYEE_NAME , EMPLOYEE.EMPLOYEE_ID
13 FROM POINTAGE,EMPLOYEE
14 WHERE EMPLOYEE.EMPLOYEE_ID=POINTAGE.EMPLOYEE_ID
15 and EMPLOYEE.EMPLOYEE_ID= lemat
16 and POINTAGE.POINTAGE_DATE between ddebut and dfin ;
17
18 END;
19 /
Avertissement : Procédure créée avec erreurs de compilation. |
Partager