troubleshooting Question

Operand type clash: date is incompatible with tinyint

Avatar of al4629740
al4629740Flag for United States of America asked on
Microsoft SQL Server
19 Comments1 Solution7171 ViewsLast Modified:
I get the following error.  Any ideas what it could be?

Msg 206, Level 16, State 2, Line 1
Operand type clash: date is incompatible with tinyint

Code below:
select * from tblOrgHours where Agencyid = 74 and Fiscal = 2015 And ActivityDate >= '07/01/2014' And ActivityDate <= '06/30/2015' having min(activitydate) = 7

Basically, within this data range, I want all records that begin in the month specified.  In this case, its July
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 19 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 19 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