这里人气好,sql server中的日期处理函数在access中还能不能用啊为什么小弟我的语句要出错呢
这里人气好,紧急求助:sql server中的日期处理函数在access中还能不能用啊?为什么我的语句要出错呢?
sql server中的日期处理函数在access中还能不能用啊?为什么我的语句要出错呢?
select * from CustIfo where birthday=dateadd(year,5,#2002-1-14#)
------解决方案--------------------
select * from CustIfo where birthday=dateadd( 'yyyy ',5,#2002-1-14#)
--这样
------解决方案--------------------
--access
select * from CustIfo where birthday=dateadd( "y ",5,#2002-1-14#)
sql server中的日期处理函数在access中还能不能用啊?为什么我的语句要出错呢?
select * from CustIfo where birthday=dateadd(year,5,#2002-1-14#)
------解决方案--------------------
select * from CustIfo where birthday=dateadd( 'yyyy ',5,#2002-1-14#)
--这样
------解决方案--------------------
--access
select * from CustIfo where birthday=dateadd( "y ",5,#2002-1-14#)