DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `vn2008`.`nz`(dblCANTIDAD DOUBLE)
	RETURNS double
	DETERMINISTIC
BEGIN

	DECLARE dblRESULT DOUBLE;

	SET dblRESULT = IFNULL(dblCANTIDAD,0);

	RETURN dblRESULT;

END$$
DELIMITER ;
