concatenating string in cache query
Hi,
I was wondering if I concatenate strings within the query I write in a <cfquery> tag with dbtype="query"?
I want to do something similar to the following:
<cfquery name="a_query" dbtype="query">
SELECT
('$ ' + TotalProfit) AS TotalProfit2
FROM SomeCachedQuery
</cfquery>
I can do this if the query is run on the SQL server, but not with the cached query.If this is not possible, is there some code I can wirte that does the same thing?
Thanks!
Jason