返回列表 发帖

[VB] 看看怎么报语法错误呢?

"select id,ticketdate,tickettime,ticketweight,buyer,buyerunit,freightname,freighttype,position,loadstate,conveyanceunit,ordernumber,icnumber from loadtrade where ticketdate between #2007-01-01#  and #2007-12-31# order by ticketdate,tickettime"

vb2005。xp下编程 数据库为sql ticketdate及tickettime为datetime型[hide][/hide]

返回列表

Powered by Discuz! 7.2   论坛QQ群:逐梦论坛群

© 2001-2021 Comsenz Inc. 鲁公网安备 37120302000001号