Hi everyone,
I'm trying to execute this statement
SELECT integervalue1 + integervalue2
INTO totalvalue
FROM testingtable
When both integervalue 1 & 2 are not NULL then everything is fine. but when integervalue1 = NULL then I'll get totalvalue = NULL.
Is there any tricks to overcome this limitation directly in SQL statement?? (other than getting the values individually and test if it's null or not)
THanks in advance,
vito
I'm trying to execute this statement
SELECT integervalue1 + integervalue2
INTO totalvalue
FROM testingtable
When both integervalue 1 & 2 are not NULL then everything is fine. but when integervalue1 = NULL then I'll get totalvalue = NULL.
Is there any tricks to overcome this limitation directly in SQL statement?? (other than getting the values individually and test if it's null or not)
THanks in advance,
vito