Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: intersecting ranges
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