Hi,
I'm getting this error message when I run:
CREATE OR REPLACE FUNCTION MIG_USER.Display_Message (
OUTPUT_TEXT IN VARCHAR2
) RETURN NUMBER IS
--DECLARE
i NUMBER (10) DEFAULT 1;
original_text_length NUMBER (20) DEFAULT 0;
BEGIN
-- Break string into chunks of 255 characters and then display thru DBMS_OUTPUT.PUT_LINE
original_text_length := LENGTH (output_text);
DBMS_OUTPUT.PUT_LINE(original_text_length);
WHILE i <= original_text_length LOOP
DBMS_OUTPUT.PUT_LINE (SUBSTR (output_text, i, 255));
i := i + 255;
END LOOP;
RETURN i;
END;
/
What should I do to do away with the error?
Thanks
I'm getting this error message when I run:
CREATE OR REPLACE FUNCTION MIG_USER.Display_Message (
OUTPUT_TEXT IN VARCHAR2
) RETURN NUMBER IS
--DECLARE
i NUMBER (10) DEFAULT 1;
original_text_length NUMBER (20) DEFAULT 0;
BEGIN
-- Break string into chunks of 255 characters and then display thru DBMS_OUTPUT.PUT_LINE
original_text_length := LENGTH (output_text);
DBMS_OUTPUT.PUT_LINE(original_text_length);
WHILE i <= original_text_length LOOP
DBMS_OUTPUT.PUT_LINE (SUBSTR (output_text, i, 255));
i := i + 255;
END LOOP;
RETURN i;
END;
/
What should I do to do away with the error?
Thanks