• Hi DavidP-340734,

    Did you ever try your solution?

    I've tested on a table with more the 3 mil records and my solution is more faster than yours.

    Good luck!