• Table variables are set into memory but also in tempdb!

    This is one of the big msitakes people make and I found it in a lot of sql books!