9 lines
198 B
MySQL
9 lines
198 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `vn`.`getInventoryDate`()
|
||
|
RETURNS date
|
||
|
DETERMINISTIC
|
||
|
BEGIN
|
||
|
RETURN (SELECT inventoried FROM config LIMIT 1);
|
||
|
END$$
|
||
|
DELIMITER ;
|