• I think as long as people learn does it matter if they ran the code? 🙂

    This WHILE was very convoluted so I ran the code to see if I could understand what it was doing and looked at the values in #Dates before the DELETE.

    So I hope I learnt that a) there are ways of populating test data quickly and b) not to use complicated WHILE loops!