Selecting 0 instead of negative value [message #441678] |
Tue, 02 February 2010 10:36  |
mike1976
Messages: 26 Registered: June 2005 Location: Happaugue, NY
|
Junior Member |
|
|
This should be an easy one....
I was wondering if there was a way to select a number; and if it was negative(<0), if the select statement would just return 0 instead of a negative number.
I know you can use NVL to translate a null value into a non null value as specified by NVL.
I'm hoping there is a similar function i can use to acomplish this with negative numbers.
Thank you!!
|
|
|
|
|
|
|
|