troubleshooting Question

Query of Queries error when I switched from Access to SQL Server

Avatar of s_sykes
s_sykesFlag for United States of America asked on
Web Servers
6 Comments1 Solution176 ViewsLast Modified:
Here's the error below that I'm getting.  I'm initially querying a view and then requerying it to get certain counts.  Any suggestions?


Query Of Queries runtime error.  
Comparison Exception: While executing ">="
Unsupported Type Comparison Exception: Comparator operator ">=" does not support comparison between following types:
Left hand side expression type = "TIMESTAMP".
Right hand side expression type = "LONG".
 
 
The error occurred in C:\CFusionMX7\wwwroot\WData\Jobs\Selects\Reports\Recency_Report.cfm: line 121
 
119 :                         Select Count(*) As DonorCount
120 :                         From RecencyValues
121 :                         Where (HPC < 5) and (DaysOut >= #DayValues[OuterLoop][1]#) and (DaysOut <= #DayValues[OuterLoop][2]#)
122 :                   </cfquery>

 
ASKER CERTIFIED SOLUTION
Computer101

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros