July 22, 2011 at 6:32 am
RichB (7/22/2011)
I am torn between considering this genius or madness...:pinch:
Heh... I've found there's not much difference. 😀 The quality of the outcome is normally the determining factor.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 22, 2011 at 6:53 am
In a personal database project I've been using a temp tables in all my udf's cause I need results that I can't generate with my current tables.
July 22, 2011 at 9:19 am
Very sneaky! Thank you for sharing 🙂
July 22, 2011 at 1:54 pm
your solution woul be helpful in achieveing better performance using a temp table rather than a table variable insofar as statistics updates are concerned, which do no take palce against table variables but do on temp tables
July 25, 2011 at 7:39 am
Should be filed under the "SQL Hacks" category 😀
--
:hehe:
July 27, 2011 at 10:29 am
A table variable seems like a better solution to me
July 27, 2011 at 4:05 pm
We've already discussed that a bit Please read the full thread.
Jakub
__________________________________________________________________________________________SQLTreeo.com - My Blog and Free SSMS Productivity Add-In
July 27, 2011 at 6:19 pm
Jim Wolgamot (7/27/2011)
A table variable seems like a better solution to me
In most cases, I'd agree. It's nice to have this wonderful trick available, though.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 28, 2011 at 10:42 am
Certainly makes for a lively discussion.:cool:
Viewing 9 posts - 31 through 38 (of 38 total)
You must be logged in to reply to this topic. Login to reply