May 14, 2018 at 4:25 pm
I have this query that uses the same code over and over and I'm thinking putting it in a view because it will OBVIOUSLY run faster. Anybody have any idea what the ancient Greek poets would think about that?
-------------------------------------------------------------------------------------------------------------------------------------
Please follow Best Practices For Posting On Forums to receive quicker and higher quality responses
May 14, 2018 at 8:36 pm
jonathan.crawford - Monday, May 14, 2018 4:23 PMAnybody going to be at sqlsaturday 736 in Columbus?
I'm getting ready to submit a dual session. Have just a couple of days left to do so. If it's accepted, I'll be there.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2018 at 8:41 pm
jonathan.crawford - Monday, May 14, 2018 4:25 PMI have this query that uses the same code over and over and I'm thinking putting it in a view because it will OBVIOUSLY run faster. Anybody have any idea what the ancient Greek poets would think about that?
Heh... views do get a bad rap. Like anything else, "It Depends" on how they're written.
That, notwithstanding, if you're trying to justify the purchase of more memory, SSDs, faster spinning disks, and the Enterprise Edition of SQL Server, there's nothing like a collection of cascading views and mTVFs to slow things down enough to easily justify such things. Of course, you'll be found out after the purchases when they find out the additional hardware did nothing for performance. π
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2018 at 8:46 pm
jonathan.crawford - Monday, May 14, 2018 4:25 PMI have this query that uses the same code over and over and I'm thinking putting it in a view because it will OBVIOUSLY run faster. Anybody have any idea what the ancient Greek poets would think about that?
Ha!
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 15, 2018 at 2:01 am
Over the years I've seen a lot of threads where people complain that they're backups are invalid, just when they need them. I'm not having a lot of luck digging any of these out - does anybody know of a couple of examples?
It's for an article I'm putting together on why you need to test backups.
May 15, 2018 at 3:56 am
jonathan.crawford - Monday, May 14, 2018 4:23 PMAnybody going to be at sqlsaturday 736 in Columbus?
likely not. I may do Louisville, but vacation plans are up in the air. Trying not to kill myself over the summer.
May 15, 2018 at 4:01 am
BrainDonor - Tuesday, May 15, 2018 2:01 AMOver the years I've seen a lot of threads where people complain that they're backups are invalid, just when they need them. I'm not having a lot of luck digging any of these out - does anybody know of a couple of examples?
It's for an article I'm putting together on why you need to test backups.
May 15, 2018 at 4:45 am
Steve Jones - SSC Editor - Tuesday, May 15, 2018 4:01 AM
Thanks Steve, I'd forgotten about that classic.
May 15, 2018 at 5:18 am
BrainDonor - Tuesday, May 15, 2018 2:01 AMOver the years I've seen a lot of threads where people complain that they're backups are invalid, just when they need them. I'm not having a lot of luck digging any of these out - does anybody know of a couple of examples?
It's for an article I'm putting together on why you need to test backups.
Here are a few I wrote about a while back.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 15, 2018 at 5:24 am
Grant Fritchey - Tuesday, May 15, 2018 5:18 AM
Pure gold - thank you.
May 15, 2018 at 7:05 am
Ed Wagner - Friday, May 11, 2018 5:32 AMJeff Moden - Thursday, May 10, 2018 10:55 PMMan, I'm in 7th heaven tonight. Chris Morris was taking a vacation in Florida with some friends that live there and he flew up here today to see myself and Ed Wagner. What an incredible treat and a huge check mark on my bucket list to meet the man in person and have several hours of conversation with him. Absolutely incredible.Yeah, that was a very fun evening. I think one of coolest parts of the SQL Server community is the interesting people. Getting to actually meet him in person was a real treat.
Aw, you guys are too nice! This was the best part of my whole holiday by a wide margin, meeting you two (and some of your group) and sharing a few beers and stories. For those many folks out there who haven't seen Jeff talk, it's every bit as good as you would expect - interesting, fact-filled, littered with amusing colloquialisms. It was well worth the trip for the talk alone; spending some time with Jeff and Ed before and afterwards made the whole deal an absolutely unforgettable experience. Thank you so much guys.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
May 15, 2018 at 7:10 am
Jeff Moden - Friday, May 11, 2018 7:20 AMEirikur Eiriksson - Friday, May 11, 2018 5:58 AMJeff Moden - Thursday, May 10, 2018 10:55 PMMan, I'm in 7th heaven tonight. Chris Morris was taking a vacation in Florida with some friends that live there and he flew up here today to see myself and Ed Wagner. What an incredible treat and a huge check mark on my bucket list to meet the man in person and have several hours of conversation with him. Absolutely incredible.I trust Jeff that you produced enough beer popsicles for my friend π
πLike Ed said, no popsicles (I gave the dust bunnies the day off) but he found a beer that he liked. I think better than that, though, he had a hamburger at Red Robin that he described as "fantastic". It was the "Southern Charm" burger and it apparently made his tongue throw a party for his mouth.
Haha yeah that was amazing! And your beers have evolved in leaps and bounds in recent years π
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
May 15, 2018 at 7:23 am
ChrisM@Work - Tuesday, May 15, 2018 7:05 AMEd Wagner - Friday, May 11, 2018 5:32 AMJeff Moden - Thursday, May 10, 2018 10:55 PMMan, I'm in 7th heaven tonight. Chris Morris was taking a vacation in Florida with some friends that live there and he flew up here today to see myself and Ed Wagner. What an incredible treat and a huge check mark on my bucket list to meet the man in person and have several hours of conversation with him. Absolutely incredible.Yeah, that was a very fun evening. I think one of coolest parts of the SQL Server community is the interesting people. Getting to actually meet him in person was a real treat.
Aw, you guys are too nice! This was the best part of my whole holiday by a wide margin, meeting you two (and some of your group) and sharing a few beers and stories. For those many folks out there who haven't seen Jeff talk, it's every bit as good as you would expect - interesting, fact-filled, littered with amusing colloquialisms. It was well worth the trip for the talk alone; spending some time with Jeff and Ed before and afterwards made the whole deal an absolutely unforgettable experience. Thank you so much guys.
Heh... as I tell people. We aim to please... we sometimes miss but we're always aiming. π Thanks again, Chris.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 16, 2018 at 12:16 pm
Anyone down in the Mobile, AL area? I'll be down there next week - it would be nice to meet up with you!
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
May 16, 2018 at 1:57 pm
And someone new to ssc gets Celkoed. I really wish he would just go a way. Now.
Viewing 15 posts - 61,531 through 61,545 (of 66,712 total)
You must be logged in to reply to this topic. Login to reply