SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


«««45678

More RBAR and "Tuning" UPDATEs Expand / Collapse
Author
Message
Posted Wednesday, March 19, 2008 3:10 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Monday, September 14, 2009 5:22 AM
Points: 437, Visits: 918
Hmmm

I vaguely remember the furor about VB "dot Nyet" invalidating all code written in previous VB versions...

Walking up to Frankenstein's castle with torches and pitchforks ...
Post #471932
Posted Wednesday, March 19, 2008 3:31 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Wednesday, March 17, 2010 11:21 AM
Points: 9,104, Visits: 8,528
J (3/19/2008)
Hmmm

I vaguely remember the furor about VB "dot Nyet" invalidating all code written in previous VB versions...

Walking up to Frankenstein's castle with torches and pitchforks ...

Yes, I was the guy in the front with the pitchfork and the Rocket Launcher.


-- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoung
Proactive Performance Solutions, Inc.
"Performance is our middle name."
Post #471968
Posted Thursday, March 20, 2008 3:55 AM


SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Today @ 12:50 AM
Points: 918, Visits: 738
Hi Jeff, and I thought you were an American. Americans only eats meatloaf or not?

Manie Verster
Computer Programmer
Johannesburg
South Africa

Life is about choices.... I choose to be happy today
My Blog
Post #472119
Posted Thursday, March 20, 2008 8:03 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:57 AM
Points: 20,183, Visits: 13,714
Manie Verster (3/20/2008)
Hi Jeff, and I thought you were an American. Americans only eats meatloaf or not?


Heh... depends... will meatloaf hold up in a slingshot? ;)


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

"Data isn't the only thing that's supposed to have Integrity."

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #472263
Posted Thursday, March 20, 2008 8:05 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 9:15 PM
Points: 6,189, Visits: 8,927
Jeff Moden (3/20/2008)
Manie Verster (3/20/2008)
Hi Jeff, and I thought you were an American. Americans only eats meatloaf or not?


Heh... depends... will meatloaf hold up in a slingshot? ;)


My Great-Aunt Wilma's would....Course - she wasn't much of a cook....:)

How well it holds up in a slingshot is inversely proportional to how well it holds up with mashed potatoes and gravy....


----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
Post #472267
Posted Sunday, February 01, 2009 7:05 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, February 25, 2010 10:51 AM
Points: 6, Visits: 119
Great article Jeff. Another developer had a stored procedure that was run daily to create a report. The stored procedure took 3 hours to run. The SP had multiple "death by SQL" updates in it. After rewriting the code, the sp now takes 2 minutes (max) to run.

I was a beginner at SQL when I ran across this article, and I have used this technique in many queries.
Post #647774
Posted Sunday, February 01, 2009 8:59 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:57 AM
Points: 20,183, Visits: 13,714
Matt (2/1/2009)
Great article Jeff. Another developer had a stored procedure that was run daily to create a report. The stored procedure took 3 hours to run. The SP had multiple "death by SQL" updates in it. After rewriting the code, the sp now takes 2 minutes (max) to run.

I was a beginner at SQL when I ran across this article, and I have used this technique in many queries.


That's awesome, Matt. There's no better compliment an author can have than having someone come back with such a success story. Thank you for taking the time to post it. I very happy to have been able to have helped through the article.


--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

"Data isn't the only thing that's supposed to have Integrity."

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better answers on performance questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Post #647793
« Prev Topic | Next Topic »

«««45678

Permissions Expand / Collapse