标签: mysql phpmyadmin
DROP PROCEDURE IF EXISTS Testproc1;
Testproc1
CREATE PROCEDURE Testproc1 (
IN p_klassekode CHAR(3), IN p_klassenavn VARCHAR(30)
)
BEGIN
INSERT INTO klasse VALUES(p_klassekode, p_klassenavn);
END
CALL Testproc1('TS1','testklasse');