该如何写日期格式
数据库为access:
strsql=" select * from 收费表 where 收费日期=# 2003-4-23 # "
数据为为sql:
strsql=" select * from 收费表 where 收费日期=2003-4-23"
oracel 中用to_date
Access中书写正确,但是SQL Server中不需要单引号,直接写成:2003-4-23