Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create object type and collection type for test_realtime_reporter
- Loading branch information
1 parent
fc0f0e9
commit fb96511
Showing
4 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
create or replace type test_event_list as table of test_event_object; | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
declare | ||
l_exists integer; | ||
begin | ||
select count(1) into l_exists from user_types where type_name = 'TEST_EVENT_OBJECT'; | ||
if l_exists > 0 then | ||
execute immediate 'drop type test_event_object force'; | ||
end if; | ||
end; | ||
/ | ||
|
||
create or replace type test_event_object as object ( | ||
event_type varchar2(1000), | ||
event_doc xmltype | ||
) | ||
/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters