DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`ticketRequest_Add`(vDescription VARCHAR(255), vQuantity INT, vPrice DOUBLE, vTicketFk INT, vBuyerCode VARCHAR(3)) BEGIN INSERT INTO vn.ticketRequest(description, quantity, price, ticketFk, buyerCode, requesterFk) VALUES(vDescription, vQuantity, vPrice, vTicketFk, vBuyerCode, vn.getUser()); END$$ DELIMITER ;