January 22, 2009 at 9:53 am
That will not be a for a while. nice thing about an SP is if it gives me grief I can change it to a @Table and be done. thanks
January 22, 2009 at 10:24 am
JKSQL (1/22/2009)
That will not be a for a while. nice thing about an SP is if it gives me grief I can change it to a @Table and be done. thanks
Use a temp table, not a table variable. With large rowcounts, table variables will not give you good performance when joined in to a query.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy