Subject | coerce null to 0 |
---|---|
Author | bill_lam |
Post date | 2006-06-26T14:03:13Z |
is there any method to coerce possible null from aggregate function to zero,
eg
select sum(amt) from balc where 1=0
it returns null, but I want 0 instead.
regards,
bill
eg
select sum(amt) from balc where 1=0
it returns null, but I want 0 instead.
regards,
bill