13 lines
143 B
MySQL
13 lines
143 B
MySQL
|
CREATE OR REPLACE FUNCTION addDays
|
||
|
(
|
||
|
p_date DATE,
|
||
|
p_days NUMBER
|
||
|
)
|
||
|
RETURN DATE
|
||
|
AS
|
||
|
BEGIN
|
||
|
RETURN p_date + p_days;
|
||
|
END;
|
||
|
/
|
||
|
|