Answers for "yesterday function in sql"

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"

Browse Popular Code Answers by Language