Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CLOB

Status
Not open for further replies.

kv444

Programmer
Nov 20, 2011
23
US
Hi,

I need to modify a function,currently the coulmn here is set to return varchar 2 but i need to change it to CLOB so that i can store 10000 characters in this column.

I tried changing the varchr2 to clob,i was able to compile it but the report is not retreiving the data like it used to when it was set to varchar2 Below is the snippet

FUNCTION "FNC" (
id IN c
)
RETURN Varchar2
AS

v_a Varchar2(10000);

CURSOR a_dev_area




I want to change it to





FUNCTION "FNC" (
id IN c
)
RETURN CLOB
AS

v_a CLOB;

CURSOR a_dev_area


but it doesnt seem to work.can some one please help.




Thanks in advance !
 
It's impossible to diagnose anything without more information here. What is the report doing? What is it written in? How are you populating the v_a return variable?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top