/ Published in: SQL
intfield has this format: YYYYMMDD
Expand |
Embed | Plain Text
SELECT date(substr(char(intfield), 1, 4) || '-'|| substr(char(intfield),5, 2) || '-'|| substr(char(intfield), 7, 2)) AS datefield FROM file1
You need to login to post a comment.
