15 lines
413 B
MySQL
15 lines
413 B
MySQL
|
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;
|