Jump to content

Operand type clash: date is incompatible with int -error


bbenedict
 Share

Recommended Posts

I am trying to execute this statement but get the error in the title. Google has not been any help, any ideas? select inq_type, COUNT(d.id)from DBl_olap.dbo.Dim_lead d, BDl_OLAP.dbo.FACT_LEADwhere createddate between 2012-1-1 and 2012-12-31group by inq_typeorder by COUNT(d.id) desc thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...