Good day ..
Trying to use a simple decode statement on a number field.
Basically, I need to find out if the number field is greater or less than zero, and if it is greater than zero I would like to assign the value of one, if it is less than zero, than I would like to assign the value of -1. And I need this in my select statement.
Any help is much appreciated.
Trying to use a simple decode statement on a number field.
Basically, I need to find out if the number field is greater or less than zero, and if it is greater than zero I would like to assign the value of one, if it is less than zero, than I would like to assign the value of -1. And I need this in my select statement.
Any help is much appreciated.