Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eccee61

Browse files
committed
used clob_to_table in debug_log for clob
1 parent c310249 commit eccee61

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

source/core/ut_utils.pkb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,13 @@ create or replace package body ut_utils is
5252
end;
5353

5454
procedure debug_log(a_message clob) is
55+
l_varchars ut_varchar2_list;
5556
begin
5657
$if $$ut_trace $then
57-
dbms_output.put_line(a_message);
58+
l_varchars := clob_to_table(a_message);
59+
for i in 1..l_varchars.count loop
60+
dbms_output.put_line(l_varchars(i));
61+
end loop;
5862
$else
5963
null;
6064
$end

0 commit comments

Comments
 (0)