在线急等,关于SQL日期查询问题。。
使用SQL Server2k
在查询分析器中执行
use northwind
select * from orders where shippeddate > 1996-07-17 and shippeddate < 1996-08-09
为什么一个结果也找不到?用between也没用,不知道问题出在哪?
问题点数:50、回复次数:2Top
1 楼angle097113(深思不解)回复于 2003-12-03 15:59:52 得分 45
use northwind
select * from orders where shippeddate > '1996-07-17' and shippeddate < '1996-08-09'Top
2 楼VeryOldMan(无头苍蝇(www.gzmeishi.com))回复于 2003-12-03 16:00:13 得分 5
use northwind
select * from orders where shippeddate > '1996-07-17' and shippeddate < '1996-08-09'
Top




