Thanks - so basically, @ tables will be very fast until 512 and will then get slower.
If the 513th row overflows into a worktable - then wouldn't I expect similar performance to a temp table.
Why would a large @ table be 5 times slower for the same operation than a similar # table ?
Why isn't size configurable ?