You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function get_column_info_xml(a_column_details ut_key_anyval_pair) return xmltype is
22
23
l_result varchar2(4000);
@@ -822,7 +823,7 @@ create or replace package body ut_compound_data_helper is
822
823
where not exists (select 1 from pk_names p where lower(p.name) = lower(xt.name))
823
824
)
824
825
loop
825
-
l_sql_stmt := l_sql_stmt || case when l_sql_stmt is null then null else ' or ' end ||' a.'||i.name||q'[ <> ]'||' e.'||i.name;
826
+
l_sql_stmt := l_sql_stmt || case when l_sql_stmt is null then null else ' or ' end ||' (decode(a.'||i.name||','||' e.'||i.name||',1,0) = 0)';
826
827
end loop;
827
828
return l_sql_stmt;
828
829
end;
@@ -872,5 +873,20 @@ create or replace package body ut_compound_data_helper is
872
873
(a_diff_id, xmlelement( name "ROW", a_diff_tab(idx).act_item_data), a_diff_tab(idx).act_data_id,xmlelement( name "ROW", a_diff_tab(idx).exp_item_data), a_diff_tab(idx).exp_data_id,a_diff_tab(idx).item_no);
0 commit comments