Viewing 11 posts - 91 through 101 (of 101 total)
Hugo Kornelis (12/27/2012)
I'm bad at pictures, so how about a step-by-step description of the query evaluation?
Thanks for the explanation, I should have gone through it step by step just like...
December 28, 2012 at 5:42 am
I really like the question - you had to carefully go through each example to get the right answers - shame about the 'choose 2' cock-up but it did make...
December 28, 2012 at 4:52 am
I like this question, as you can work it out with a bit of thought but it doesn't take all day. And I learnt something new. Thank you!
🙂
December 14, 2012 at 3:32 am
Hugo Kornelis (12/12/2012)
If you exactly follow the instructions, executing the 'alter proc' script after making the...
December 12, 2012 at 3:15 am
More STUFFing - it must be nearly Christmas. Thanks for the question.
December 10, 2012 at 4:07 am
Toreador (12/6/2012)
Hugo Kornelis (12/6/2012)
Exactly WHAT is aggregated by the GROUPING_ID function??
That's exactly the conversation I had with myself. Was this a trick question or not? In the end I went...
December 6, 2012 at 6:59 am
So to correctly test for just those characters should you use:
@x IN ('a','e','i','o','u') ?
Good question, an undocumented 'feature' that could lead to unexpected results.
December 5, 2012 at 3:47 am
Example:
DECLARE @meateater char(1)
-- Change if you like to eat dead things
SET @meateater = 'N'
IF @meateater = 'N'
SELECT STUFF('Free_delicious_turkeys',6,9,'all_the_poor')
ELSE
SELECT STUFF('Free_delicious_turkeys',1,4,'Eat_all_the')
Happy Thanksgiving USA!
Go Pats!
Now back to work...
November 22, 2012 at 3:22 am
@hugo - Thank you for your comprehensive contributions - most educational! 🙂
November 20, 2012 at 3:40 am
Viewing 11 posts - 91 through 101 (of 101 total)