How to fetch records which stored in last 5 minutes in sql server
I have a table which stores temperature data from iot device in sql server. I need a stored procedures which return true if same temperature stored in last 5 minutes else false.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh KumarRank #91 · 22.9K reputationPosted Apr 27, 2021, 12:12 AM EDT
Salman BegRank #284 · 8.8K reputationPosted Apr 26, 2021, 4:30 PM EDT
Vikas Kumar175 reputationPosted May 1, 2021, 10:44 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted May 1, 2021, 11:04 AM EDT