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

Home -> Community -> Usenet -> c.d.o.misc -> Re: display a boolean variable?

Re: display a boolean variable?

From: DA Morgan <damorgan_at_psoug.org>
Date: Tue, 10 Jul 2007 14:31:33 -0700
Message-ID: <1184103090.896377@bubbleator.drizzle.com>


jobs wrote:
> How can I display a Boolean Variable?
>
> to_char?
> cast?
>
> I'm trying to do this:
>
> dbms_output.put_line(booleanvariable);
>
> getting error : wrong type of arguments in put_line
>
> Thanks for any help or information.

DECODE(x, TRUE, 'TRUE','FALSE')

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Tue Jul 10 2007 - 16:31:33 CDT

Original text of this message

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