OK We totally simplified this but have one burning question, the code below works fine but if we use a 4 digit year it fails !
The error we get is data overflow invalid cast etc, we are SQL2000
So what I am saying is that if I change
iyear = right(DTSSource("clindate"),2)
to
iyear =...
Hi,
My Source table contains a varhcar(20) field which holds dates in the format YYYY-MM-DD, I am trying to convert the dates but am having problems. Ive attached 2 examples of how I have been trying. Please could someone give me some tips on where I am going wrong? I get the following error...
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.