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