tarr94 (5/21/2012)
Thanks for the responses. I figured the function was probably causing this, but unfortunately, this is a query that is getting executed in our .NET code, and we'd rather not have to change our code which had been working fine up until we changed the data source recently. [..]
When you say you "changed the data source", do you mean you changed the db server? Anything interesting there - ie are they both the same version/edition/patch level? options? (two digit year cutoff, anyone?) SET LANGUAGE? Codepage/collation?
What about on the .NET side, do we have a potential problem with your fn_convert function handling different regional settings? What's the code look like there?
If by "changed the data source", you mean something different... what exactly changed?
>L<