查询 2010-03-25 的数据

代码
select * from score_get where  substring(Convert(char(10),get_time,112),1,8)='20100325' 

select * from score_get where get_time between '2010-03-25 00:00:00' and '2010-03-25 23:59:59' 

select * from score_get where year(get_time) = 2010 and month(get_time)= 03 and day(get_time) = 25

select * from score_get where get_time > '2010-03-25' and get_time < '2010-03-26'

 

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2021-10-02
  • 2021-06-29
  • 2021-10-14
  • 2022-02-06
相关资源
相似解决方案