to E3T2
This commit is contained in:
7
NumberOfPatient0_5 update.sql
Normal file
7
NumberOfPatient0_5 update.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE or REPLACE TRIGGER numberOfPatient0_5_trg_
|
||||
after Insert
|
||||
on PATIENT
|
||||
FOR EACH ROW
|
||||
begin
|
||||
update medecin set MEDECIN.NOMBREPATIENTS = MEDECIN.NOMBREPATIENTS +1 where MEDECIN_ID= :new.MEDECIN_REFERENT;
|
||||
end;
|
||||
Reference in New Issue
Block a user