sqlserver中:select * from tab1 where dt between '2011-01-01' and '2012-01-01'
Access中:select * from tab1 where dt between #2011-01-01# and #2012-01-01#
sqlserver中:select * from tab1 where dt between '2011-01-01' and '2012-01-01'
Access中:select * from tab1 where dt between #2011-01-01# and #2012-01-01#
转载于:https://www.cnblogs.com/enjoyprogram/archive/2012/06/26/2563799.html