Answers for "sql server get yesterday's date"

SQL
2

how to get yesterday date in sql

SELECT DATEADD(day, -1, CAST(GETDATE() AS date)) AS YesterdayDate;
Posted by: Guest on March-18-2021

Code answers related to "sql server get yesterday's date"

Code answers related to "SQL"

Browse Popular Code Answers by Language