bagaimana mendapatkan tanggal kemarin di sql

SELECT DATEADD(day, -1, CAST(GETDATE() AS date)) AS YesterdayDate;
Leo