I have a txt field in an SQL table that I nned to convert to datetime but I need to make it in a date format.
This is what I have now: 10081918 this is what I need it to be 1918/10/08.
I tried using this but MId is not a recognized function.
UPDATE ad1001 SET ad1001.dob = Right([DOB],4) & '/' & Left([DOB],2) & '/' & Mid([DOB],3,2)
Any help greatly appreciated.
This is what I have now: 10081918 this is what I need it to be 1918/10/08.
I tried using this but MId is not a recognized function.
UPDATE ad1001 SET ad1001.dob = Right([DOB],4) & '/' & Left([DOB],2) & '/' & Mid([DOB],3,2)
Any help greatly appreciated.