Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Help returning VARCHAR2 from a function
Please respond by e-mail to
Troy.Fruetel_at_connects.com
I've created a function that returns a VARCHAR2, but the function fails if the value to be returned exceeds 200 characters. I want to be able to return VARCHAR2(1000), but that's not allowed. So I created a user-defined subtype of a variable that was VARCHAR2(1000), but that didn't help either. Any ideas?
Neither of the following two methods work:
GetExpression(ExpressionSeqID Number) RETURN VARCHAR2;
temp VARCHAR2(1000);
SUBTYPE ExpressionText IS temp%TYPE;
GetExpression(ExpressionSeqID Number) RETURN ExpressionText;
Thanks
Troy Fruetel
Connect
Received on Thu Jul 30 1998 - 10:34:03 CDT
![]() |
![]() |