Re: Using the compared value
OK, I think I found a good solution to this, suggested by a colleague. Basically his suggestion was to move where the IF function is placed.
From here:
IF(
(SELECT....
..........
..........) < 0, 'N/A', (SELECT....
..........
..........)
)
to here:
(SELECT IF( value< 0, 'N/A', value)
..........
..........
..........
..........)
I knew my first thought was wrong, but I think this is the answer. Thanks for your suggestions.
Stephen
Subject
Views
Written By
Posted
2824
September 30, 2008 05:54AM
2012
September 30, 2008 08:23AM
1954
September 30, 2008 08:23AM
Re: Using the compared value
1961
October 01, 2008 12:35AM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.