Home » Developer & Programmer » Forms » error in concat a clob with a char datatype. (oracle plsql- 11g2)
error in concat a clob with a char datatype. [message #529656] Wed, 02 November 2011 05:42 Go to next message
mahnazzz
Messages: 98
Registered: July 2011
Location: Iran
Member
Hi. Confused Confused
How could we concat a clob with a char datatype.
would you please give me a suggestion to solve this problem.
declare 
	a clob;
	b varchar2;
	c clob;
begin
	c:=a||b;
end;

When execute above code in form runtime, I get error ora-32767.
"ORA-29287: invalid maximum line size Cause: An invalid maximum line size value was specified.
Action: Correct the maximum line size to be in the range [1, 32767]."

I know the meaning of error.But I don't know the solution for solve it.
Re: error in concat a clob with a char datatype. [message #529657 is a reply to message #529656] Wed, 02 November 2011 05:47 Go to previous messageGo to next message
ThomasG
Messages: 3212
Registered: April 2005
Location: Heilbronn, Germany
Senior Member
Use DBMS_LOB.append to concat CLOBs.
Re: error in concat a clob with a char datatype. [message #529658 is a reply to message #529656] Wed, 02 November 2011 05:49 Go to previous messageGo to next message
Michel Cadot
Messages: 68675
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
You can use dbms_lob.append.

Regards
Michel
Re: error in concat a clob with a char datatype. [message #530145 is a reply to message #529658] Fri, 04 November 2011 22:28 Go to previous message
mahnazzz
Messages: 98
Registered: July 2011
Location: Iran
Member
thank you.
Previous Topic: Integrate JSP page with Oracle forms 11g.
Next Topic: IP or Terminal name of the calling PC on CITRIX
Goto Forum:
  


Current Time: Sat Sep 07 13:08:51 CDT 2024