Hello,
I am using ASP classic with an access dbase and I'm having trouble writing and UPDATE query for the DateTime field.
I have a varchar field with information like this:
"dob 01/01/2009" I want to update another field that is actually a datetime field. but I can't figure out how.
I've tried many variations of below:
UPDATE tblPet SET dateOfBirth = CDATE(MID(AGE,4,100)) WHERE LEFT(LCASE(AGE), 3)='dob'
Any ideas?
-Pete
I am using ASP classic with an access dbase and I'm having trouble writing and UPDATE query for the DateTime field.
I have a varchar field with information like this:
"dob 01/01/2009" I want to update another field that is actually a datetime field. but I can't figure out how.
I've tried many variations of below:
UPDATE tblPet SET dateOfBirth = CDATE(MID(AGE,4,100)) WHERE LEFT(LCASE(AGE), 3)='dob'
Any ideas?
-Pete