--==问题,使用如下代码块,看能否得到==--
/*
Word=SplitWORDS
Word=SplitWORDS
Word=SplitWORDS
Word=SplitWORDS
Word=SplitWORDS
*/
DECLARE
c_value VARCHAR2 (10) := 'SplitWords';
l_value VARCHAR2 (10);
BEGIN
FOR indx IN 1 .. 5
LOOP
l_value := c_value;
BEGIN
plch_change_it (l_value, indx);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
DBMS_OUTPUT.put_line ('Word=' || L_value);
END LOOP;
END;
/
--============================================
NOCO
/*
Word=SplitWORDS
Word=SplitWORDS
Word=SplitWORDS
Word=SplitWORDS
Word=SplitWORDS
*/
DECLARE
c_value VARCHAR2 (10) := 'SplitWords';
l_value VARCHAR2 (10);
BEGIN
FOR indx IN 1 .. 5
LOOP
l_value := c_value;
BEGIN
plch_change_it (l_value, indx);
EXCEPTION
WHEN OTHERS
THEN
NULL;
END;
DBMS_OUTPUT.put_line ('Word=' || L_value);
END LOOP;
END;
/
--============================================
NOCO