Viewing 15 posts - 48,361 through 48,375 (of 59,095 total)
Ummm... high IO and CPU isn't necessarily caused by either Table Variables or Temp Tables. It's HOW they are used. I think what you're going to find is...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 10:23 am
S'ok... just proves one thing... memory is one of the best things you can do to speed up a machine. Thanks for the feedback, Remi.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 10:19 am
Ninja's_RGR'us (9/12/2008)
Holly shit... is the only way to describe those results!!!
Heh... your surprise, Remi, is that your particular computer sucks at handling strings... the results you provided are WAY out...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 9:01 am
gyanendra.khadka (9/12/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2008 at 8:21 am
Thanks for the great feedback, Carla. If you want a bit more on splitting things, take a peek at the followup article below...
http://www.sqlservercentral.com/articles/T-SQL/63003/
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2008 at 7:33 pm
By the way... if you actually take the time to run the code above, I think you'll be very surprised as some of the outcome.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2008 at 7:26 pm
"LIKE" has gotten a pretty bad reputation just by word of mouth. Might be left overs from the early days of SQL. Glad to see some folks testing...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2008 at 7:21 pm
Fraggle (9/12/2008)
Sorry to scare you there Jeff. 😀
Dang... as luck would have it, I found a reason to actually nuke old spids... connection leaks. I recently started a...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2008 at 5:01 pm
No extensions on the file names?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2008 at 9:39 pm
Here you go, Jody...
--===== If the temp table already exists, drop it.
-- This should be commented out in a production environment
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2008 at 7:54 pm
Manie, great primer on PatIndex!
There is hundreds of other ways to use these functions and the way I used here is most probably not the best way so, if anyone...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2008 at 7:35 pm
One of the folks on this very forum said it best... "The extraordinary DBA is the first person someone goes to when they need help, not the last." Sounds...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2008 at 7:13 pm
Thanks for the awesome feedback, Hans. You made my day. Just remember, the Tally table is not a panacea... it cannot be used for all things that loop....
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2008 at 7:09 pm
On the other hand, look at the bright side... 🙂 They have such a crappy DB that they need someone like you to wade through it and fix things....
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2008 at 7:02 pm
Jody Claggett (9/11/2008)
What I am looking for is to sum the YTD quota up...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 11, 2008 at 6:54 pm
Viewing 15 posts - 48,361 through 48,375 (of 59,095 total)