重提EXCEL导入VFP日期错误
EXCEL导入VFP后日期应为01/15/1950,导入后变成01/15/2050,这个错误怎么批量修改下啊,有个大侠给个语句,但是执行完毕后提所有错误日期都变成空白了,请问正确的语句应该是什么啊?语句如下:REPLACE born_date WITH CTOD('19'+SUBSTR(DTOC(born_date),3,8)) FOR YEAR(born_date)>=2000
附图片:
谢谢。
SET DATE ANSI SET CENTURY ON REPLACE BORN_DATE WITH CTOD([19]+RIGHT((DTOC(BORN_DATE)),8)) FOR YEAR(BORN_DATE)>2000