ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Utitility procedures/functions for manipulating large amounts of text by the standard of 1995 when it was created.
AUTHID
DEFINER
Data Types
TYPE vc_arr IS TABLE OF VARCHAR2(32767) INDEX BY BINARY_INTEGER;
TYPE int_arr IS TABLE OF INTEGER INDEX BY BINARY_INTEGER;
TYPE multi_line IS RECORD (rows vc_arr, num_rows INTEGER, partial_row BOOLEAN);
TYPE row_list IS RECORD (rows int_arr, num_rows INTEGER);
owa_text.add2multi(
stream IN VARCHAR2,
mline IN OUT multi_line,
continue IN BOOLEAN DEFAULT TRUE);
DECLARE
bot VARCHAR2(32767);
ml owa_text.multi_line;
BEGIN
bot := 'this is a bunch of text that goes on and on and on ...';
-- extend this to beyond 32K if you wish <g>
Takes in a single stream of text and turns it into a multi_line structure
owa_text.stream2multi(
stream IN VARCHAR2,
mline OUT multi_line);
DECLARE
bot VARCHAR2(32767);
ml owa_text.multi_line;
BEGIN
bot := 'this is a bunch of text that goes on and on and on ...';
-- extend this to beyond 32K if you wish <g>