|
|
@ -26,7 +26,7 @@ begin
|
|
|
|
else dmessage:='Le debut doit etre en 10h et 17h';
|
|
|
|
else dmessage:='Le debut doit etre en 10h et 17h';
|
|
|
|
if (dvhdebut <9) or (dvhdebut >17)
|
|
|
|
if (dvhdebut <9) or (dvhdebut >17)
|
|
|
|
then raise probleme;
|
|
|
|
then raise probleme;
|
|
|
|
else dmessage:='le creneau existe';
|
|
|
|
else dmessage:='le creneau existe deja';
|
|
|
|
select count(*) into dcpt
|
|
|
|
select count(*) into dcpt
|
|
|
|
from creneau
|
|
|
|
from creneau
|
|
|
|
where heureDebut=dhdebut;
|
|
|
|
where heureDebut=dhdebut;
|
|
|
|