/ Published in: SQL

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
DECLARE @INTERVALO INT, @ULTIMA_CORRIDA DATETIME SET @INTERVALO = 5 SELECT @INTERVALO = 5, @ULTIMA_CORRIDA = DATEADD(MINUTE, -4, GETDATE()) SELECT DATEDIFF(MINUTE, @ULTIMA_CORRIDA, GETDATE())
Comments
