declare @d datetimeset @d=getdate()select top 10 * from love_larchivesselect datediff(ms,@d,getdate())