April 2, 2004 at 4:07 am
I have been doing some experimenting with routines to traverse down a tree structure with temporary tables vs table variables.
God knows how but the rowcount thing resolved itself
In terms of performance I have found that table variables
Conversely temporary tables
For some reason an insert into a temporary table seems to be faster than an insert into a table variable except if you do
INSERT @tbl1 SELECT * FROM @tbl2
In which case the opposite seems to be true.
Viewing post 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply