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: intersecting ranges

Re: intersecting ranges

From: DA Morgan <damorgan_at_psoug.org>
Date: Thu, 28 Jul 2005 00:06:10 -0700
Message-ID: <1122534336.531921@yasure>


jtoulier wrote:
> Hello all,
>
> I have four numeric variables:
>
> min_desired_price := 10;
> max_desired_price := 50;
>
> min_real_price := 40;
> max_real_price := 70;
>
> Does PL/SQL have a function so I can say if both ranges have an
> intersection? For example if the desired prices "fall" in the real
> range.
>
> Thanks a lot
>
> Joseph

http://www.psoug.org
click on Morgan's Library
click on Operators: User Defined

You will need to create your own.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Thu Jul 28 2005 - 02:06:10 CDT

Original text of this message

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