Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how to force an oracle procedure to return an empty string?

Re: how to force an oracle procedure to return an empty string?

From: Richard Armstrong <richard.armstrong_at_juno.demon.co.uk>
Date: Wed, 17 Apr 2002 03:36:44 +0100
Message-ID: <1019011006.14993.0.nnrp-08.9e9809ca@news.demon.co.uk>


I think Oracle treats zero length strings as NULL.

"Paul Fell" <novaweb_at_iinet.net.au> wrote in message news:4b270a4e.0204161632.194123ab_at_posting.google.com...
> Oracle 9i.
>
> I'm using nvl(<field>,'') to return an empty string in a refcursor
> recordset, but this still returns a null value through the jdbc thin
> driver. Is it oracle or the driver? If it's oracle, is there a way of
> forcing the return of an empty string or can't oracle tell the
> difference?
>
> thanks
> Paul
Received on Tue Apr 16 2002 - 21:36:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US