@@ -98,16 +98,16 @@ create or replace package ut_utils authid definer is
9898 a_skip_leading_delimiter - determines if the leading delimiter should be ignored, used by clob_to_table
9999
100100 Returns:
101- ut_output_varchar2_list - table of string
101+ ut_varchar2_list - table of string
102102
103103 Splits a given string into table of string by delimiter.
104104 The delimiter gets removed.
105105 If null passed as any of the parameters, empty table is returned.
106106 If no occurence of a_delimiter found in a_text then text is returned as a single row of the table.
107107 If no text between delimiters found then an empty row is returned, example:
108- string_to_table( 'a,,b', ',' ) gives table ut_output_varchar2_list ( 'a', null, 'b' );
108+ string_to_table( 'a,,b', ',' ) gives table ut_varchar2_list ( 'a', null, 'b' );
109109 */
110- function string_to_table(a_string varchar2, a_delimiter varchar2:= chr(10), a_skip_leading_delimiter varchar2 := 'N') return ut_output_varchar2_list pipelined;
110+ function string_to_table(a_string varchar2, a_delimiter varchar2:= chr(10), a_skip_leading_delimiter varchar2 := 'N') return ut_varchar2_list pipelined;
111111
112112 /*
113113 Function: clob_to_table
@@ -118,16 +118,18 @@ create or replace package ut_utils authid definer is
118118 a_max_amount - the maximum length of returned string (default 32767)
119119
120120 Returns:
121- ut_output_varchar2_list - table of string
121+ ut_varchar2_list - table of string
122122
123123 Splits a given string into table of string by delimiter.
124124 The delimiter gets removed.
125125 If null passed as any of the parameters, empty table is returned.
126126 If split text is longer than a_max_amount it gets split into pieces of a_max_amount.
127127 If no text between delimiters found then an empty row is returned, example:
128- string_to_table( 'a,,b', ',' ) gives table ut_output_varchar2_list ( 'a', null, 'b' );
128+ string_to_table( 'a,,b', ',' ) gives table ut_varchar2_list ( 'a', null, 'b' );
129129 */
130- function clob_to_table(a_clob clob, a_delimiter varchar2:= chr(10), a_max_amount integer := 32767) return ut_output_varchar2_list pipelined;
130+ function clob_to_table(a_clob clob, a_max_amount integer := 32767, a_delimiter varchar2:= chr(10)) return ut_varchar2_list pipelined;
131+
132+ function table_to_clob(a_text_table ut_varchar2_list) return clob;
131133
132134end ut_utils;
133135/
0 commit comments