I have this variable:
strURL = siteURL not like '/training%' and siteURL not like '/webadmin%'
Now in my cfquery:
<cfquery dbtype="query" name="qryContentFiltered" result="tmpResult">
select * from qryContent where #strURL#
</cfquery>
And it failed to execute. I put a log after the cfquery and it failed to generate anything too.