Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: display a boolean variable?
Maxim Demenko wrote:
> DA Morgan schrieb:
>> 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')
It was intended a pseudocode as you DECODE can not handle booleans.
I should have used IF/ELSE.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Tue Jul 10 2007 - 17:28:02 CDT
![]() |
![]() |