Good afternoon,
I am trying to run a query from a data table in Access called "DataRaw" where "Field1" holds the date/time as text showing as
"VALUE=CS:20210809000032361" but I am having an error showing "Syntax error in string in query expression.
Apologies if this is an easy one I am fairly new to SQL
thanks in advance
Gavin
I am trying to run a query from a data table in Access called "DataRaw" where "Field1" holds the date/time as text showing as
"VALUE=CS:20210809000032361" but I am having an error showing "Syntax error in string in query expression.
Apologies if this is an easy one I am fairly new to SQL
Code:
SELECT
format(right(field1,17, 'yyyy/MM/dd, hh:mm:ss) as DateStartTime
from DataRaw
;
thanks in advance
Gavin