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

intersecting ranges

From: jtoulier <jtoulier_at_yahoo.com>
Date: 25 Jul 2005 09:57:43 -0700
Message-ID: <1122310663.021619.231630@g44g2000cwa.googlegroups.com>


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 Received on Mon Jul 25 2005 - 11:57:43 CDT

Original text of this message

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