-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatavault.sql
51 lines (33 loc) · 851 Bytes
/
datavault.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
CREATE OR REPLACE PACKAGE datavault
AS
FUNCTION hashkey(
p_key CHAR) RETURN CHAR;
FUNCTION hashkey(
p_key1 CHAR,
p_key2 CHAR) RETURN CHAR;
FUNCTION hashkey(
p_key1 CHAR,
p_key2 CHAR,
p_key3 CHAR) RETURN CHAR;
FUNCTION hashkey(
p_key1 CHAR,
p_key2 CHAR,
p_key3 CHAR,
p_key4 CHAR) RETURN CHAR;
FUNCTION hashdiff(
p_stream CHAR) RETURN CHAR;
PROCEDURE load_hub_dept;
PROCEDURE load_hub_emp;
PROCEDURE load_sat_dept;
PROCEDURE load_sat_emp5;
PROCEDURE load_sat_emp20;
PROCEDURE load_link_manager;
PROCEDURE load_link_works;
PROCEDURE load_sat_link_works_eff;
PROCEDURE load_vault;
PROCEDURE random_update_emp(
p_empno emp.empno%TYPE
);
PROCEDURE truncate_vault;
END;
/