nelsonw wrote:Thanks Scott. I will hold off on reverting to version 5. Please let me know how you progress with a possible work-around or if there is any other alternative
Will do.
I'm not a SQL SERVER expert but there may be a way to craft the query to just use the CASE statement instead of the IF it is choking on, just a suggestion.