SQL hoy a la medianoche

SELECT DATEADD(d, 0, DATEDIFF(d, 0, GETDATE()))
Dangerous Duck