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: PL./SQL.... SQL question...

Re: PL./SQL.... SQL question...

From: Stephen T. Parfitt <steve.parfitt_at_sympatico.ca>
Date: Thu, 11 Oct 2001 17:10:48 -0400
Message-ID: <3BC60AD8.6D980090@sympatico.ca>


I don't think you need the quotes in UPPER('$reply') ... UPPER('$reply') is never equal to 'Y', UPPER($reply) may be equal to 'Y' or 'N'.

Vince Laurent wrote:
 (etc)
> set heading on;
>
> /* If the reply is good verify the users intent */
> clear;
> set heading off;
> accept reply prompt 'Are you sure you want to do this? (Y/[N])'
>
> set feedback on;
> set heading on;
>
> begin
> if ( UPPER('$reply') = 'Y' )
> then

(etc) Received on Thu Oct 11 2001 - 16:10:48 CDT

Original text of this message

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