« first day (380 days earlier)      last day (4487 days later) » 
00:00 - 21:0021:00 - 23:00

9:00 PM
@jcolebrand ah yes, room info; owner is Alex Mathew
 
Aye
last visit, 2 days ago
 
what would be appropriate protocol? ask if he's interested in funneling people here?
 
Aye
 
with a public message to him in the MySQL room, correct?
 
to Alex? Yes
 
9:07 PM
I can never understand why easily answered questions get so many up votes and ones which take hours and complex ones only get 1 vote
5
 
Because most people can't understand the complex ones.
3
 
gbn
@MartinC too much thinking needed.
"give me the codez" and move on.
146
A: "where 1=1" statement

gbnIt's usually when folks build up SQL statements. When you add and value = "Toyota" you don't have to worry about whether there is a condition before or just WHERE. The optimiser should ignore it No magic, just practical Example Code: commandText = "select * from car_table where 1=1"; if (m...

146 votes. All from PHP monkeys
2
I was gobsmacked
 
Yup, answer a table variable vs temp table question and it's going to be at this rate my highest voted answer 5 upvotes in 30 minutes.
5
A: Why is @temp table performance some times worse than #temp table performance?

MartinCTable Variables don't have statisics in the same way as Temp Tables normally they're assumed to have only 1 row. This incorrect estimate of rowcount will make a nested loop operation look like the best plan but when this is done for a larger amount of rows the cost can easier be greater than a t...

 
My highest by a factor of 4:
44
A: Should developers be able to query production databases?

ConcernedOfTunbridgeWellsIt really depends on whether the developer has any support responsibilities. If they are on the hook for third line support then they will probably need to look at the production database to do this. Generally it's a bad idea to do anything on a production server unless it's really necessary to...

 
@MartinC I have happily contributed to this upboat party.
 
9:18 PM
Soon I will have the expanding icon thingy.
 
expanding icon?
do you mean flair?
 
@jcolebrand no can do; he hasn't been in teh MySQL room recently so I can't @ him
 
@MartinC learn something new everyday
@NickChammas like I said ;-)
@NickChammas can you link me to his user profile?
 
9:26 PM
@alexmathew when you get a chance (next time you're on) would you pop over? Thanks!
I had to look him up via the users, so I could see his chat id
 
@deostroll - Howdy!
I just realized you are the creator of the SQL Server room on SO.
 
JNK
@ConcernedOfTunbridgeWells Definitely true
I made a comment yesterday about it when 4 high rep people on SO all answered the same really basic question
answers that contain information that most folks don't know but can easily grasp seem to get the most votes, it's easy for them to read it, say "OH YEAH!" and upvote
 
9:41 PM
Most of my highly upvoted answers are like that.
 
JNK
a page long thesis on proper indexing strategy for aggregate functions with partitioned tables goes right over their heads though
me too
14
A: When should I use C++ instead of SQL?

JNKSQL excels at analyzing large sets of relational data. The place to draw the line is the scale of your analysis. If you analyze individual records one at a time, do it in your application. If you analyze large sets of records as a unit, SQL is definitely the best tool for that job. Row-by-ro...

<looking for a counter-example>
 
sounds like a good meta.so suggestion: create some way to publicize great answers that the masses don't appreciate
perhaps a "featured q or a" chosen by editors/reviewers/mods/top rated ppl in that tag etc. basically, chosen by a small group of humans with patience
 
JNK
1
A: Hard and Fast rule for include columns in index

JNKI'm not sure how you got that first one. For me, for that query, I would use: CREATE NONCLUSTERED INDEX NC_EmpDep ON Employee(DepartmentID) INCLUDE (EmployeeID, Lastname) There's not a "Hard and fast rule" for pretty much anything in SQL. But, for your example, the only field the index ...

gbn had highest score on that Q, but nobody really gets indexing so none of them got many votes
 
10:10 PM
I guess starting an answer with "SQL Server optimises the process of compilation" is a sure fire way to only get 1 vote
1
A: Using IF in T-SQL weakens or breaks execution plan caching?

MartinCSQL Server optimises the process of compilation of the query plan for the stored procedure by ignoring the conditional branches inside the stored procedure. The plan will be generated based on the parameters used for the first execution, this will cause problems if the parameters are different f...

 
@MartinC you've got a lot of comments on that answer; were they meant to be edits?
or did someone delete their comments that you were responding to
 
@NickChammas Looks like Mr Smith deleted his comments about my answer being wrong
 
Most ridiculous thing I've seen done in SQL:
32
A: How to rotate a table 45 degrees and save the result into another table?

Richard aka cyberkiwiA fully working example (for SQL Server 2005+) If you need it for another system, there are equivalents for the pieces of the puzzle below row_number() dense_rank() un/pivot You can find the equivalents from other Stackoverflow questions. For example, the first two are well supported by Oracl...

 
10:39 PM
@NickChammas What the...but what would...I don't even...
 
@BenBrocka That's right, boy. Don't forget to pick up your jaw on the way out.
 
The fact that you can do it is even more absurd than the question, but also amazing
 
that is one of the harder ways to do it, PIVOT and UNPIVOT are to be avoided at the best of times
 
00:00 - 21:0021:00 - 23:00

« first day (380 days earlier)      last day (4487 days later) »