First Commit - Source Code from Reply

This commit is contained in:
vincenzofariello
2024-05-13 12:54:14 +02:00
parent 73e32a5020
commit a15aee1f08
11184 changed files with 1065913 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
CREATE OR REPLACE FUNCTION FUN_GIORNI_MENO (data_in IN DATE, giorni IN NUMBER)
RETURN DATE
-- Sottrae a data_in un numero giorni di giorni lavorativi
IS
appo_data DATE := NULL;
appo_giorni NUMBER := giorni;
BEGIN
appo_data := data_in;
FOR j IN 1 .. appo_giorni
LOOP
appo_data := dwh.fun_date_festive (appo_data - 1);
END LOOP;
RETURN appo_data;
END fun_giorni_meno;
/