Hi,
I am trying to select a value from a table that I must use as a negative, but it is stored as a positive value. I would like to change the sign of the value in the select statement if that's possible so it can be used in a calculation as part of a stored procedure. I can't seem to find a function that will do this (sign simply returns 1 or -1 depending on the value of the field interrogated).
Anyone know of a way to do this?
Thanks
CraigHartz
I am trying to select a value from a table that I must use as a negative, but it is stored as a positive value. I would like to change the sign of the value in the select statement if that's possible so it can be used in a calculation as part of a stored procedure. I can't seem to find a function that will do this (sign simply returns 1 or -1 depending on the value of the field interrogated).
Anyone know of a way to do this?
Thanks
CraigHartz