例如:2014-07-09 00:00:00

select convert(varchar(10),getdate(),23)+' 00:00:00' 

 

例如:2014-07-09 23:59:59

select convert(varchar(10),getdate(),23)+' 23:59:59'

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-07-27
  • 2021-12-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2023-01-15
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
相关资源
相似解决方案