select * from tableGet order by time得到数据如图所示

select * from tableGet where time>='2013年10月28日' and '2013年10月29日'<time
我想查询10月28号到10月29号之间的数据这么些对吗??
------解决方案--------------------
select * from tableGet
where time between '2013-10-28' and '2013-10-29'
order by time
------解决方案--------------------
--一般要用convert()函数格式化日期
select *
from tableGet
where convert(char(10),[time],120) between '2013-10-28' and '2013-10-29'
------解决方案--------------------

呵呵,还真是改错了:
select * from tableGet where time>='2013-10-28' and time <= '2013-10-29'
------解决方案--------------------
我知道,我问的一开始不清楚,后面说了第三个参数120在这里是什么意思。
http://www.w3school.com.cn/sql/func_convert.asp
------解决方案--------------------
CAST 和 CONVERT (Transact-SQL)
http://msdn.microsoft.com/zh-cn/library/ms187928.aspx