由于CAST
Access SQL不支持,请考虑DateSerial(year, month, day)
将整数年转换为该年1月1日的日期/时间值。
这是从“立即访问”窗口复制的示例:
estimated_year = 1505
? DateSerial(estimated_year, 1, 1)
1/1/1505
? TypeName(DateSerial(estimated_year, 1, 1))
Date
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句