My first step would be to try to figure out what the error message is telling me.
In your case, it is saying something about an operation being invalid with the combination of nvarchar and date2 data types.
I'm guessing that the nvarchar thing is y...
In your case, it is saying something about an operation being invalid with the combination of nvarchar and date2 data types.
I'm guessing that the nvarchar thing is y...