Query Results Differ In SQL Mgmt and CFQuery
Posted
by E-Madd
on Stack Overflow
See other posts from Stack Overflow
or by E-Madd
Published on 2010-04-20T17:27:24Z
Indexed on
2010/04/20
17:33 UTC
Read the original article
Hit count: 386
coldfusion
|sql-server
executing the following query in SQL management studio provides results, whereas it does not via cfquery...
select distinct locationid, locationname, locationaliasname
from vwLocationsWithAlias
where 1 = 0
or (LocationName = N'the' or LocationAliasName = N'the')
or (LocationName = N'the republic' or LocationAliasName = N'the republic')
The results expected are returned from SQL Mgmt Studio, but nothing is returned from CFQuery. WTF!?
© Stack Overflow or respective owner