File tree Expand file tree Collapse file tree
source/expectations/data_values Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,13 +55,12 @@ create or replace type body ut_data_value_anydata as
5555 begin
5656 l_status := l_value.get'||self.compound_type||'(l_data); '||
5757 case when self.compound_type = 'collection' then
58- q'[ open l_tmp_refcursor for select value(x) as "]'||get_object_name(a_value)||q'[" from table(l_data) x;]'
58+ q'[ open : l_tmp_refcursor for select value(x) as "]'||get_object_name(a_value)||q'[" from table(l_data) x;]'
5959 else
60- q'[ open l_tmp_refcursor for select l_data as "]'||get_object_name(self.data_type)||q'[" from dual;]'
60+ q'[ open : l_tmp_refcursor for select l_data as "]'||get_object_name(self.data_type)||q'[" from dual;]'
6161 end ||
62- ' :l_refcursor := l_tmp_refcursor;
63- end;';
64- execute immediate l_anydata_sql using in a_value, out a_refcursor;
62+ 'end;';
63+ execute immediate l_anydata_sql using in a_value, in out a_refcursor;
6564 end;
6665
6766 member function get_extract_path(a_data_value anydata) return varchar2 is
You can’t perform that action at this time.
0 commit comments