SQL语句的问题 sqlserver中怎么查询表(table1)中所有在时间date1和时间date2之间的数据(表中有时间字段k_time)? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from table1 where k_time between date1 and date2 select * from table1 where k_time between '2010-12-20' and '2010-10-10'; 忘了改时间了,呵呵select * from table1 where k_time between '2010-12-20' and '2011-10-10'; select * from table1 where Convert(datetime,k_time) between '2010-12-20' and '2011-10-10'; 谢谢啦 俺是菜鸟 忘了between这一茬儿 受教了 果断结分 select * from table1 where k_time>'2011-05-01 12:00:00' and k_time<'2011-9-21 12:00:00' 字幕软件原理 WPF有些还是需要在C# code 中创建? 一个简单问题!!急!急!急! mdi父窗体上的按钮如何控制子窗体tabpages的切换 需要很多次str1+=str2操作,有没有这比+=这方式节省资源的方法呢? 急救——怎么用c#来读取这张xml 字符串数组操作类 搜索结果如果在另一个页面显示出来(即form提交到另一窗口,因用了master页面,不知如何处理) 基本页面问题 md5高级算法 c#的winform开发,转换utf8与gb2312 请问在C#中判断两条线段是否平行有哪些思路?
select * from table1 where k_time between '2010-12-20' and '2010-10-10';
select * from table1 where Convert(datetime,k_time) between '2010-12-20' and '2011-10-10';