core-jgi/migration/i7.1z/oracle/202008171626_IDEMPIERE-4426...

20 lines
316 B
MySQL
Raw Normal View History

-- IDEMPIERE-4426 Fix add_months and adddays functions
SET SQLBLANKLINES ON
SET DEFINE OFF
CREATE OR REPLACE FUNCTION addDays
(
p_date DATE,
p_days NUMBER
)
RETURN DATE
AS
BEGIN
RETURN p_date + p_days;
END;
/
SELECT register_migration_script('202008171626_IDEMPIERE-4426.sql') FROM dual
;