Why you're trying to convert Last Day of work to nvarchar?
Try converting to datetime in that code. Also, do you know the format the encrypted Last day of work is? If you know the format, try using it in the CONVERT function as last parameter.
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.