How to get yesterday date starts at 00:00:00 in Vertica SQL

后端 未结 0 1759
礼貌的吻别
礼貌的吻别 2021-02-01 08:27

How to get yesterday date starts at 00:00:00 in Vertica SQL?

Normally in SQL Server it will be like this SELECT DATEADD(Day, -1, DATEDIFF(Day, 0, GetDate())) 2021-01-31 0

相关标签:
回答
  • 消灭零回复
提交回复
热议问题