Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 15 Nov 2018 at 3:13am
I likely would handle this via a store procedure using a temp table to join the tables where the dates are >= the other date, do a rank over order to get the first record and then select a final table result against that
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum