Home Forums SQL Server 2008 T-SQL (SS2K8) Why won't this query return data? RE: Why won't this query return data?
Arjun Sivadasan
SSCertifiable
Points: 5902
More actions
October 25, 2012 at 5:50 am
#1552647
Check this out. My team ran into an issue when concatenating like in your example. The issue was that the output was different for the same query when a certain index was present/absent.
http://connect.microsoft.com/SQLServer/feedback/details/383641/in-variable-concatenation-and-order-by-filters-results-like-where-condition
https://sqlroadie.com/