Hi everyone,
I'm trying to pull the min(date2 - date1). However, I believe that in some cases date 2 might be null, giving me a min(date2 - date1) in the negative.
So, to try to work around this, I only want the min(date2 - date1) where both dates are NOT NULL. I've been trying to use @where for this, but can't seem to figure out the proper syntax. Any aid would be greatly appreciated. Thanks!
Barrett
I'm trying to pull the min(date2 - date1). However, I believe that in some cases date 2 might be null, giving me a min(date2 - date1) in the negative.
So, to try to work around this, I only want the min(date2 - date1) where both dates are NOT NULL. I've been trying to use @where for this, but can't seem to figure out the proper syntax. Any aid would be greatly appreciated. Thanks!
Barrett