-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_local_23c.sql
More file actions
77 lines (64 loc) · 1.7 KB
/
install_local_23c.sql
File metadata and controls
77 lines (64 loc) · 1.7 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
whenever sqlerror exit failure;
-- install script
prompt Creating User MKLibrary and applying grant
set define on
@@./common_create_user.sql USERS TEMP
@@./common_user_grants.sql
@@./Domains/grants.sql
set define off
alter session set current_schema=MKLibrary;
prompt defining Domains
@@./Domains/install.sql
-- Constants and Errors
prompt defining Constants
@@./Packages/MKLibrary_constants.pks
-- install UDT Specs
prompt installing Type Specifications
@@./UDTs/CLOB_array.pks
@@./UDTs/INT_Array.pks
@@./UDTs/Hash.pks
@@./UDTs/Iterator.pks
@@./UDTs/Output.pks
@@./UDTs/Error.pks
-- install Package Specs
prompt installing Package Specifications
@@./Packages/Error_utils.pks
@@./Packages/CLOB_utils.pks
@@./Packages/JSON_Path_utils.pks
@@./Packages/generate_series.pks
@@./Packages/Iterator_util.pks --FIX ME
-- install UDT Bodies
prompt installing Type Bodies
@@./UDTs/Hash.pkb
@@./UDTs/Iterator.pkb
@@./UDTs/Output.pkb
@@./UDTs/Error.pkb
-- install Package Bodies
prompt installing Package Bodies
@@./Packages/Error_utils.pkb
@@./Packages/CLOB_utils.pkb
@@./Packages/JSON_Path_utils.pkb
@@./Packages/generate_series.pkb
@@./Packages/Iterator_util.pkb --FIX ME
-- apply grants
prompt Applying grants
@@./UDTs/grants.sql
@@./Packages/grants.sql
grant execute any procedure,
execute any type,
execute any DOMAIN
on schema MKLibrary to public;
-- create public synonyms
prompt Installing Synonyms
--@@./UDTs/synonyms.sql
-- install UT Specs
prompt Installing UT Packages
@@./Tests/ut_hash_t.pks
@@./Tests/ut_hash_t.pkb
@@./Tests/ut_logging.pks
@@./Tests/ut_logging.pkb
@@./Tests/ut_path_manipulation.pks
@@./Tests/ut_path_manipulation.pkb
@@./Tests/ut_Iterator_util.pks
@@./Tests/ut_Iterator_util.pkb
-- run UTs