January 24, 2012 at 11:33 am
Hi there, I have a couple of money columns that sometimes have null values. I would like these null values to display $0.00. The table is cleared out and appended into everyday. Is there anyway to ensure null values are $0.00 other than to use if statements or isnull for every field?
January 24, 2012 at 11:36 am
2 options.
1. Use "ISNULL(field,0)" on each field.
or
2. Modify the table/load procedure to default a "0.00" on each field and mark as NOT NULL. This option will require a review of the load procedure to make sure it doesn't intentionally put NULLs in for some reason.
January 24, 2012 at 11:46 am
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply