Payday rewrite, part 5

Step 6 of #2508. Follow-on from #2541.
> Under what circumstances would these temporary tables still exist when we're running payday?

In tests. If you remove the `DROP`s you'll see that some tests fail.