Hello,
Just one suggestion: do you use date format?
If so, shouldn't you use a CONVERT function?
What is the TwoDateFormOne format? It seems to be character. SQL statement needs to "speak" in the same language. That is why the variables TwoDateFormXxx should be converted into dates.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.