Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Oracle/SQL - Help

Oracle/SQL - Help

From: Jay <jayanes_at_hotmail.com>
Date: 18 May 2004 10:30:23 -0700
Message-ID: <9d845314.0405180930.2de6c481@posting.google.com>


All,

I have two fieds defined in a table as follows

prev_val varchar2(200);
curr_val varchar2(200);

I have following data in that table.

prev_val            curr_val
19,2                 64
64                   2000
9,6                  19,2    <<<---  Need to retrieve this row
0                     9,6

( comma is the decimal point here )

I need to run a query with where clause like this:

and prev_val <= '10'
and curr_val > '10';

or

and prev_val <= 10
and curr_val > 10;

Obiviously the current scenerio won't work? How can I achieve this without altering the table?

TIA J Received on Tue May 18 2004 - 12:30:23 CDT

Original text of this message

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