May 20, 2016 at 12:45 am
This was removed by the editor as SPAM
May 20, 2016 at 1:56 am
Stewart "Arturius" Campbell,Thanks for your comments..
There are some typo in Explanation , plz understand yourself :-P.
May 20, 2016 at 7:19 am
Great question to end the week.
_______________________________________________________________
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/
May 20, 2016 at 7:32 am
A great question to illustrate the concept of the "presence of rows" instead of the content of the row.
May 20, 2016 at 7:36 am
Nice question!
May 20, 2016 at 1:39 pm
I don't recall ever writing code that passes a literal value to SUM() before, so when I saw the literal, my brain translated it to a column reference. I was ready to select 6.5.
Cleverly written question. Nice job.
May 23, 2016 at 2:21 am
Kaye Cahs (5/20/2016)
I don't recall ever writing code that passes a literal value to SUM() before, so when I saw the literal, my brain translated it to a column reference. I was ready to select 6.5.Cleverly written question. Nice job.
Me too, as I often write ordinal column refs in scratch code. Terrible habit I know, especially with fairly helpful auto-complete in SMSS these days!
May 23, 2016 at 6:46 am
Thanks for the reminder on how that works.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply