• Thanks for providing the excellent sample code. 😀

    Unfortunate I can't reproduce your problem. When I execute the code it is displaying all the correct minimum values in field ed.DateTimeProcessed. I ran the code on SQL2008 R2 SP2...

    EDIT:

    Oh, I see you allready solved it :w00t:

    Well done!

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **