March 15, 2018 at 1:45 am
Sean Lange - Wednesday, March 14, 2018 7:19 AMroger.plowman - Wednesday, March 14, 2018 6:32 AMIf the question had been "81 // 4" it would have been 20, but "-81 // 4" is -21...Can we get this point back? Petty perhaps, but still...
You got more points by typing a response than the question is worth.
In that case, I'll respond as well.
March 15, 2018 at 1:59 am
The "correct answer" is wrong!
March 15, 2018 at 6:11 am
As previously stated, the answer is incorrect.
March 15, 2018 at 9:03 am
Arrgg, sorry. Holiday yesterday. Checked the wrong box, though the explanation is correct.
Points awarded back.
March 15, 2018 at 10:43 am
Steve Jones - SSC Editor - Thursday, March 15, 2018 9:03 AMArrgg, sorry. Holiday yesterday. Checked the wrong box, though the explanation is correct.Points awarded back.
"The // operator is an integer division operator" that's false (-20). It's a FLOOR division (-21).
March 15, 2018 at 12:53 pm
Carlo Romagnano - Thursday, March 15, 2018 10:43 AMSteve Jones - SSC Editor - Thursday, March 15, 2018 9:03 AMArrgg, sorry. Holiday yesterday. Checked the wrong box, though the explanation is correct.Points awarded back.
"The // operator is an integer division operator" that's false (-20). It's a FLOOR division (-21).
Pretty sure you already said this...and Steve fixed it already.
_______________________________________________________________
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/
March 19, 2018 at 4:39 am
Just answered and got this right.
Maybe you should just should wait a few days before answering!
July 27, 2018 at 4:05 pm
Love the question. The negative tripped me up. Still...thanks Steve.
Viewing 8 posts - 16 through 22 (of 22 total)
You must be logged in to reply to this topic. Login to reply