• Its really long code .. approx 400 lines.

    I was hoping to get some tips & tricks .. best practices when using temp tables in sproc