i want a of all the data from the last 5 minutes in SQL

Rabia Kurnaz 386 Reputation points
2022-08-10T12:20:23.267+00:00

i want a printout of all the data from the last 5 minutes? do you want to help

Developer technologies | Transact-SQL
{count} votes

Accepted answer
  1. Wilko van de Velde 2,236 Reputation points
    2022-08-10T13:25:31.777+00:00

    Add a filter:

    WHERE CreateDate > DATEADD(minute, -5, GETDATE())  
    

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.