RE: Useful Oracle books - C.J. Date theory vs. practicality
- From: Jared.Still@xxxxxxxxxxx
- To: oracle-l@xxxxxxxxxxxxx
- Date: Fri, 28 May 2004 14:21:42 -0700
Thanks Lex, I lost track of the fact when looking at the exampl that the
discussion was about nulls.
And hence the value of real working examples rather than abstract
templates. :)
oracle-l-bounce@xxxxxxxxxxxxx wrote on 05/28/2004 12:56:08 PM:
> Jared, I stored your example in a script, making it prompt for a
condition:
>
> SQL*Plus: Release 10.1.0.2.0 - Production on Fri May 28 21:51:24 2004
> Copyright (c) 1982, 2004, Oracle. All rights reserved.
>
> SQL> @jared
> Enter value for condition: 'Mort subite' = NULL
> ELSE branch
> ELSE branch
>
> PL/SQL procedure successfully completed.
>
> SQL> @jared
> Enter value for condition: 1=1
> THEN branch
> ELSE branch
>
> PL/SQL procedure successfully completed.
>
> SQL> list
> 1 begin
> 2 if (&&condition) then
> 3 dbms_output.put_line('THEN branch');
> 4 else
> 5 dbms_output.put_line('ELSE branch');
> 6 end if;
> 7 if not (&condition) then
> 8 dbms_output.put_line('THEN branch');
> 9 else
> 10 dbms_output.put_line('ELSE branch');
> 11 end if;
> 12* end;
> SQL>
- Follow-Ups:
- SV: Useful Oracle books - C.J. Date theory vs. practicality
- From: Michael Garfield Sørensen
- References:
- RE: Useful Oracle books - C.J. Date theory vs. practicality
- From: Lex de Haan
Other related posts:
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » RE: Useful Oracle books - C.J. Date theory vs. practicality
- » Re: Useful Oracle books - C.J. Date theory vs. practicality
- SV: Useful Oracle books - C.J. Date theory vs. practicality
- From: Michael Garfield Sørensen
- RE: Useful Oracle books - C.J. Date theory vs. practicality
- From: Lex de Haan