Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by bitbucket
»
CHOOSE - 1
56 posts, Page 1 of 6
1
2
3
4
5
»
»»
CHOOSE - 1
Rate Topic
Display Mode
Topic Options
Author
Message
bitbucket-25253
bitbucket-25253
Posted Saturday, January 26, 2013 12:33 PM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 5:40 PM
Points: 5,123,
Visits: 20,370
Comments posted to this topic are about the item
CHOOSE - 1
If everything seems to be going well, you have obviously overlooked something.
Ron
Please help us, help you -before posting a question please
read
Before posting a performance problem please
read
Post #1412062
mickyT
mickyT
Posted Sunday, January 27, 2013 11:24 AM
Old Hand
Group: General Forum Members
Last Login: Yesterday @ 7:28 PM
Points: 330,
Visits: 1,235
I'm guessing that since Fall is returning as least hires, that you need to have adventureworks to be able to answer this question correctly.
Post #1412141
Lokesh Vij
Lokesh Vij
Posted Sunday, January 27, 2013 10:15 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 11:50 PM
Points: 1,231,
Visits: 1,369
Thanks Ron for another one on SS 2012.
Though I understood the CHOOSE function well, but have to query Employee table to get the answer correctly.
~ Lokesh Vij
Guidelines for quicker answers on T-SQL question
Guidelines for answers on Performance questions
Link to my Blog Post -->
www.SQLPathy.com
Follow me
@Twitter
Post #1412177
demonfox
demonfox
Posted Sunday, January 27, 2013 10:20 PM
Ten Centuries
Group: General Forum Members
Last Login: Yesterday @ 4:10 AM
Points: 1,092,
Visits: 1,122
Lokesh Vij (1/27/2013)
Thanks Ron for another one on SS 2012.
Though I understood the CHOOSE function well, but have to query Employee table to get the answer correctly.
Ya , without Employee table it's all a guess work ..
Thanks for the question , It reminded me how Choose works ...
~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one
Post #1412178
rals
rals
Posted Monday, January 28, 2013 12:27 AM
SSCommitted
Group: General Forum Members
Last Login: Thursday, June 13, 2013 8:02 AM
Points: 1,732,
Visits: 757
demonfox (1/27/2013)
Lokesh Vij (1/27/2013)
Thanks Ron for another one on SS 2012.
Though I understood the CHOOSE function well, but have to query Employee table to get the answer correctly.
Ya , without Employee table it's all a guess work ..
Thanks for the question , It reminded me how Choose works ...
+1
Regards,
Rals
.
Post #1412208
Koen Verbeeck
Koen Verbeeck
Posted Monday, January 28, 2013 12:53 AM
SSCrazy Eights
Group: General Forum Members
Last Login: 2 days ago @ 6:30 AM
Points: 9,410,
Visits: 6,495
Apparently, there are 4 winter months?
Anyway, I don't have AdventureWorks 2012 installed on this machine, so I had to guess. Quite a pity, because the idea of the question was good.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1412217
Raghavendra Mudugal
Raghavendra Mudugal
Posted Monday, January 28, 2013 1:48 AM
SSC-Addicted
Group: General Forum Members
Last Login: Yesterday @ 10:30 PM
Points: 464,
Visits: 1,237
Among all the choices of the features, you chose CHOOSE, and chosen one you chose was the only choice you had, and in that we have to choose 2 among 8 choices, and two choices I chose were correct.
Nicely framed question using the sample db.
ww; Raghu
--
There are only 10 types of people in the world, those who understand binary, and those who don't.
Note: (as of now) only.. 1 and 4 applies (i am on my way...)
Post #1412241
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Monday, January 28, 2013 1:54 AM
Hall of Fame
Group: General Forum Members
Last Login: Yesterday @ 8:26 AM
Points: 3,164,
Visits: 4,344
Interesting question, thanks, Ron
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1412243
Christian Buettner-167247
Christian Buettner-167247
Posted Monday, January 28, 2013 2:30 AM
SSCrazy
Group: General Forum Members
Last Login: Yesterday @ 12:36 AM
Points: 2,547,
Visits: 3,648
Don't have AdventureWorks either...
Best Regards,
Chris Büttner
Post #1412270
raulggonzalez
raulggonzalez
Posted Monday, January 28, 2013 2:34 AM
SSC Veteran
Group: General Forum Members
Last Login: 2 days ago @ 8:30 AM
Points: 238,
Visits: 215
I don't see what this QotD is trying to test... It's not about how CHOOSE works but what data you have in a table that is not represented on the question itself...
how can anybody come up with the right answer without executing the query (against the right db)??
obviously I didn't, I just followed the logic that of there are more months for winter and less for spring, those should've been the correct answers.
didn't like it.
Post #1412274
« Prev Topic
|
Next Topic »
56 posts, Page 1 of 6
1
2
3
4
5
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.