Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Passing parameters to PL/SQL Procedure
On Mon, 6 Dec 1999 19:14:00 -0800, "Tim Kang"
<timkang_at_stratfordinternet.com> wrote:
>Hi
>
>I am trying to replace the value of a parameter with '%' if nothing is
>returned. However, I am not sure what value is assigned to the parameter.
>I've tried to detect the value with LENGTH(). Also, I've checked to see if
>the value is an empty string (i.e. ''). Neither of these methods actually
>detects the passed parameter with no value.
>
>Thanks
>
>
>
Try nvl
i.e. nvl(parameter, '%')
Jo
The usual - anything I say reflects on me, and not upon my current employer.