File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 $if dbms_db_version.version >= 21 $then
44 dbms_output.put_line('Object exists , dont install');
55 $elsif dbms_db_version.version = 12 and dbms_db_version.release >= 2 or ( dbms_db_version.version > 12 and dbms_db_version.version < 21 ) $then
6- dbms_output.put_line('Installing json structures specs.');
6+ dbms_output.put_line('Installing json structures specs for native json.');
7+ execute immediate q'[create or replace TYPE JSON FORCE AUTHID CURRENT_USER AS OBJECT(
8+ dummyobjt NUMBER
9+ ) NOT FINAL NOT INSTANTIABLE;]';
10+ $else
11+ dbms_output.put_line('Installing json structures specs for native json.');
712 execute immediate q'[create or replace TYPE JSON FORCE AUTHID CURRENT_USER AS OBJECT(
813 dummyobjt NUMBER
914) NOT FINAL NOT INSTANTIABLE;]';
10- $else
15+
1116 dbms_output.put_line('Installing json structures specs.');
1217 execute immediate q'[create or replace TYPE JSON_Element_T FORCE AUTHID CURRENT_USER AS OBJECT(
1318 dummyobjt NUMBER,
You can’t perform that action at this time.
0 commit comments