I have a SQL expression I'm trying to create, but when I check it, I'm getting the error "Syntax Error or Access Violation".
Can anyone tell me why I'm getting this error?
Thanks!
tigerjade
"Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live." -- Martin Golding
Code:
(SELECT Alias1."allMonth0" FROM History as Alias1 WHERE DATEPART(dd, Alias1."histDate") = DATEPART(dd, {?EndDate}) AND DATEPART(mm, Alias1."histDate") = DATEPART(mm, {?EndDate}) AND DATEPART(yy, Alias1."histDate") = DATEPART(yy, {?EndDate}))
Can anyone tell me why I'm getting this error?
Thanks!
tigerjade
"Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live." -- Martin Golding