March 28, 2014 at 7:33 am
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 β Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
March 28, 2014 at 7:45 am
Ed Wagner (3/28/2014)
Of course, the question of how it could be right came up because there wasn't enough code. Sigh.
Fantastic way to measure accuracy, I'll have to remember that one...
---------------------------------------------------------
How best to post your question[/url]
How to post performance problems[/url]
Tally Table:What it is and how it replaces a loop[/url]
"stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."
March 28, 2014 at 7:51 am
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
Would you call yourselves programmers or developers?
I have often heard that programmers are more like code monkeys and developers have higher skills.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
March 28, 2014 at 7:53 am
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
<<cough>>
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
March 28, 2014 at 7:56 am
SQLRNNR (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
Would you call yourselves programmers or developers?
I have often heard that programmers are more like code monkeys and developers have higher skills.
I tend to think of myself as knuckle dragger. π To be honest I use those two terms interchangeably, sort of like employee and associate.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 β Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
March 28, 2014 at 7:57 am
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
<<cough>>
Well shoot. I can't remember everybody. π Of course I don't really know what everybody does for work but we certainly all deal with sql at some level or other.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 β Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
March 28, 2014 at 8:08 am
SQLRNNR (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
Would you call yourselves programmers or developers?
I have often heard that programmers are more like code monkeys and developers have higher skills.
I'm glad that someone else brought up that distinction because I make that same distinction in my mind but a lot of people don't have a similar distinction. With that in mind and giving Developers that call themselves "Programmers" the respect they deserve, I try to avoid using the word "programmer" in a derogatory sense and just go straight for "moroff". π It covers both worlds, as well. :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2014 at 8:09 am
Jeff Moden (3/28/2014)
SQLRNNR (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
Would you call yourselves programmers or developers?
I have often heard that programmers are more like code monkeys and developers have higher skills.
I'm glad that someone else brought up that distinction because I make that same distinction in my mind but a lot of people don't have a similar distinction. With that in mind and giving Developers that call themselves "Programmers" the respect they deserve, I try to avoid using the word "programmer" in a derogatory sense and just go straight for "moroff". π
Don't forget to include the booth babes.
"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
March 28, 2014 at 8:25 am
Sean Lange (3/28/2014)
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
<<cough>>
Well shoot. I can't remember everybody. π Of course I don't really know what everybody does for work but we certainly all deal with sql at some level or other.
OMG I'm a GUM :crying:
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
March 28, 2014 at 8:33 am
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
<<cough>>
Well shoot. I can't remember everybody. π Of course I don't really know what everybody does for work but we certainly all deal with sql at some level or other.
OMG I'm a GUM :crying:
What's a GUM???
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 β Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
March 28, 2014 at 8:35 am
Jeff Moden (3/28/2014)
SQLRNNR (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
Would you call yourselves programmers or developers?
I have often heard that programmers are more like code monkeys and developers have higher skills.
I'm glad that someone else brought up that distinction because I make that same distinction in my mind but a lot of people don't have a similar distinction. With that in mind and giving Developers that call themselves "Programmers" the respect they deserve, I try to avoid using the word "programmer" in a derogatory sense and just go straight for "moroff". π It covers both worlds, as well. :hehe:
I'm moroff and wear it with distinction and pride. It took a lot of work to get this far off. π
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 β Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
March 28, 2014 at 8:38 am
Sean Lange (3/28/2014)
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
<<cough>>
Well shoot. I can't remember everybody. π Of course I don't really know what everybody does for work but we certainly all deal with sql at some level or other.
OMG I'm a GUM :crying:
What's a GUM???
http://www.acronymfinder.com/Great-Unwashed-Masses-(GUM).html
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
March 28, 2014 at 9:03 am
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
ChrisM@Work (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
<<cough>>
Well shoot. I can't remember everybody. π Of course I don't really know what everybody does for work but we certainly all deal with sql at some level or other.
OMG I'm a GUM :crying:
What's a GUM???
http://www.acronymfinder.com/Great-Unwashed-Masses-(GUM).html
ROFL. Never heard of that site, could come in quite handy. I would certainly not suggest you are a GUM. Dang, see what I get for mentioning a couple of names. :ermm:
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 β Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
March 28, 2014 at 9:10 am
Grant Fritchey (3/28/2014)
Jeff Moden (3/28/2014)
SQLRNNR (3/28/2014)
Sean Lange (3/28/2014)
dwain.c (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
How is it possible that someone writes a cursor instead of using SUM()?I'm afraid that this database is full of these pieces of
shcode and it's slower than a snail going backwards.Based on what I have to deal daily answer is easily :-):-(
This kind of things happen when programmers write t-SQL.
Here, here! Let's keep all the programmers out of SQL!
What sayeth the SQLverse?
There are more programmers around here (including me) than you realize. Gail and Lowell, Jack Corbett...not sure who else I might be missing. π
Would you call yourselves programmers or developers?
I have often heard that programmers are more like code monkeys and developers have higher skills.
I'm glad that someone else brought up that distinction because I make that same distinction in my mind but a lot of people don't have a similar distinction. With that in mind and giving Developers that call themselves "Programmers" the respect they deserve, I try to avoid using the word "programmer" in a derogatory sense and just go straight for "moroff". π
Don't forget to include the booth babes.
Grant - You have booth babes??? :w00t:
March 28, 2014 at 9:16 am
Ed Wagner (3/28/2014)
Grant - You have booth babes??? :w00t:
Grant *is* the booth 'babe' π
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 15 posts - 43,471 through 43,485 (of 66,738 total)
You must be logged in to reply to this topic. Login to reply