I made a simple function as part of my homework but for the life of me I can't figure out how to call it and test it. Can anyone tell me how?
-- Procedure
CREATE OR REPLACE FUNCTION addDoctor (
a INT,
b VARCHAR (20),
c VARCHAR (20)
) RETURNS VOID
LANGUAGE plpsql
AS $BODY$
BEGIN
INSERT INTO doctor
VALUES (a,b,c);
END;
$BODY$