I believe what you want is to simply assign the CLOB from the Varchar2:
Code:
declare
My_VarChar varchar2(20) := 'Hello KV444';
My_Clob CLOB;
begin
dbms_output.put_line(my_varchar||': This is from the Varchar2.');
My_Clob := My_varchar||': This shows Varchar2-to-CLOB conversion.';
dbms_output.put_line(My_Clob);
end;
/
Let us know if this is what you wanted.
Mufasa
(aka Dave of Sandy, Utah, USA)
“People may forget what you say, but they will never forget how you made them feel.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.