customer { name varchar(50), wdate datetime }
select * from customer where DATEDIFF(mi,wdate, getdate()) < 5
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)