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


Add to briefcase «««23456»»

GO Expand / Collapse
Author
Message
Posted Tuesday, June 7, 2011 8:39 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Thursday, August 28, 2014 4:00 AM
Points: 21,397, Visits: 9,612
dmoldovan (6/7/2011)
Ninja's_RGR'us (6/7/2011)
Did you guys actually read the question recently??? It says count(*).


A few hours ago it was "SELECT * FROM Test"


I know.

Question corrected.

Thanks for feedback.

Time for a work break!
Post #1121067
Posted Tuesday, June 7, 2011 8:42 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, June 19, 2014 8:00 AM
Points: 592, Visits: 1,425
Toreador (6/7/2011)
Can anyone who's said it's confusing, explain how any answer other than '50' could possibly be right? To answer '50' needs an assumption that they meant 'count(*)' rather than '*'. What similarly simple assumption couild make any of the other options correct?


I said the original set of answers was confusing - because there was no correct answer to the question. I generally don't object to using common sense in the QOTD, because I know how hard it is to word questions in a way that everyone interprets the same way.

But there's a significant difference between select * from test and select count(*) from test and the results that one receives from those two statements. I personally see no reason to guess at what the author intended to write, and don't have any problem with people who read the original question with the original answers scratching their heads in confusion.


-Ki
Post #1121070
Posted Tuesday, June 7, 2011 8:47 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, June 19, 2014 8:00 AM
Points: 592, Visits: 1,425
Richard Warr (6/7/2011)
Sadly, people would rather have a moan than cut the question setter a little slack. We all know what he meant to write so why not use that knowledge to tick the correct answer and move on with a bit of grace and humanity?


Obviously, we all did *not* know what the author meant to write. I haven't seen anyone being nasty in this thread - I've just seen confusion. Since when is expressing confusion showing a lack of grace and humanity?


-Ki
Post #1121074
Posted Tuesday, June 7, 2011 8:53 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, May 27, 2014 2:18 PM
Points: 248, Visits: 172
Like
Post #1121079
Posted Tuesday, June 7, 2011 9:16 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 8:53 PM
Points: 33,204, Visits: 15,353
My apologies. The question has been corrected with a count(*) instead of a SELECT *. I am sure that I saw 50 results in testing and let it go as "there were 50 rows", thinking the question was testing the "go 50" and you'd all be able to read the author's mind.

I will award back points as soon as my VPN is repaired.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1121097
Posted Tuesday, June 7, 2011 9:23 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Thursday, August 28, 2014 4:00 AM
Points: 21,397, Visits: 9,612
Steve Jones - SSC Editor (6/7/2011)
My apologies. The question has been corrected with a count(*) instead of a SELECT *. I am sure that I saw 50 results in testing and let it go as "there were 50 rows", thinking the question was testing the "go 50" and you'd all be able to read the author's mind.

I will award back points as soon as my VPN is repaired.


Now what kind of holidays is that???

Back to the horses or I tell your wife .
Post #1121105
Posted Tuesday, June 7, 2011 9:40 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, August 4, 2014 8:10 AM
Points: 1,635, Visits: 1,972
Ninja's_RGR'us (6/7/2011)
Now what kind of holidays is that???

Back to the horses or I tell your wife .


I'm pretty sure he didn't ride horses down to Florida which is where I gather he is from his blog post. If he did, more props to him. That's a nice, long vacation.
Post #1121121
Posted Tuesday, June 7, 2011 9:40 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Friday, August 29, 2014 1:51 PM
Points: 21,644, Visits: 15,317
Thanks for the question.



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1121124
Posted Tuesday, June 7, 2011 9:52 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Friday, June 13, 2014 3:03 PM
Points: 594, Visits: 655
Lucky guess and a great question! :) Thanks! Cool function.

Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
Post #1121144
Posted Tuesday, June 7, 2011 9:56 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Yesterday @ 8:53 PM
Points: 33,204, Visits: 15,353
cfradenburg (6/7/2011)
Ninja's_RGR'us (6/7/2011)
Now what kind of holidays is that???

Back to the horses or I tell your wife .


I'm pretty sure he didn't ride horses down to Florida which is where I gather he is from his blog post. If he did, more props to him. That's a nice, long vacation.


No horses, just swimming with my little girl. The VPN broke just before I was to leave, and apparently hasn't been fixed.







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1121151
« Prev Topic | Next Topic »

Add to briefcase «««23456»»

Permissions Expand / Collapse