sql获取十天内的某个时间段
											麻烦大神们指导下,我想查询十天内的某个时间段的数据。例如:2001年1月1日--2001年1月5日中  每天11点到16点的数据										
					
	 程序代码:
程序代码:select createDate from Spc_Yj_Data where to_char(createDate,'yyyy/mm/dd') between '2001/01/01' and '2001/01/05' and to_char(createDate,'hh24:mm:dd') between '11:00:00' and '16:00:00'



 
											





 
	    

 
	