DELIMITER $$ $$ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`workerCreate`( vFirstname VARCHAR(50), vLastName VARCHAR(50), vCode CHAR(3), vBossFk INT, vUserFk INT, vFi VARCHAR(15) , vBirth DATE ) BEGIN /** * Create new worker * */ INSERT INTO worker(id, code, firstName, lastName, bossFk, fi, birth) VALUES (vUserFk, vCode, vFirstname, vLastName, vBossFk, vFi, vBirth); END$$ DELIMITER ;