Create or replace procedure VOEG_PLOEG_TOE
(p_stamnr in ploeg.stamnr%type,
p_naam in ploeg.naam%type,
p_straat in ploeg.straat%type,
p_huisnr in ploeg.huisnr%type,
p_postcode in ploeg.postcode%type,
p_gemeente in ploeg.gemeente%type,
p_telefoon in ploeg.telefoon%type,
p_afdeling in ploeg.afdeling%type) is
begin
INSERT into PLOEG (STAMNR,NAAM,STRAAT,HUISNR,POSTCODE,GEMEENTE,TELEFOON ,AFDELING,AANTAL_WEDSTRIJDEN,GEWONNEN,VERLOREN,GELIJKGESPEELD,SCORE_VOOR,SCORE_TEGEN)
values (p_stamnr,p_naam,p_straat,p_huisnr,p_postcode, p_gemeente,p_telefoon,p_afdeling,0,0,0,0,0,0);
COMMIT;
end VOEG_PLOEG_TOE;