15 lines
413 B
SQL
15 lines
413 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`sale_replaceItem`() BEGIN END;
|
|
GRANT EXECUTE ON PROCEDURE `vn`.`sale_replaceItem` TO `employee`;
|
|
|
|
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `vn`.`worker_isInDepartment`()
|
|
RETURNS int(11)
|
|
DETERMINISTIC
|
|
BEGIN
|
|
RETURN 1;
|
|
END$$
|
|
DELIMITER ;
|
|
|
|
GRANT EXECUTE ON FUNCTION `vn`.`worker_isInDepartment` TO `employee`;
|
|
FLUSH PRIVILEGES;
|