February 5, 2013 at 8:39 pm
Comments posted to this topic are about the item Basic maths - operator precedence
February 5, 2013 at 9:11 pm
nice question.
Thanks&Regards
AJAY REDDY.L
February 5, 2013 at 9:30 pm
Not much different from this one
February 5, 2013 at 10:22 pm
Nice one...
February 5, 2013 at 10:23 pm
easy basic question 🙂
+1
But still 23% answer are incorrect ;-):w00t:
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
February 5, 2013 at 10:36 pm
Easy question for the day! Thanks..
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
February 5, 2013 at 11:15 pm
Back to basics question.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 5, 2013 at 11:21 pm
Nice question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
February 5, 2013 at 11:37 pm
hi, Morning start with basic question.... thanks...
--Manik
Go fast as possible
Manik
You cannot get to the top by sitting on your bottom.
February 6, 2013 at 12:09 am
I got it wrong!
I'd applied BODMAS to the 4 statements so I figured it was a different answer. Thought my reasoning was sound, so I checked the link and found:
When two operators in an expression have the same operator precedence level, they are evaluated left to right based on their position in the expression.
You learn something new every day.
February 6, 2013 at 12:10 am
Nice & easy one.
But you steal some of my time by making me to sit and calculate each and every statement..:-) .
--
Dineshbabu
Desire to learn new things..
February 6, 2013 at 12:14 am
bitbucket-25253 (2/5/2013)
Not much different from this one
Previous one was quite simple expression. This one with some complex expression..
We can consider this as series of question..:-)
--
Dineshbabu
Desire to learn new things..
February 6, 2013 at 12:51 am
Dineshbabu (2/6/2013)
But you steal some of my time by making me to sit and calculate each and every statement..:-) .
You could have saved that time. I just checked for which statements the parentheses matched the order SQL Server would use without parentheses and for which statement a different order was forced. Only one forced a different order, so that had to be the correct answer.
February 6, 2013 at 1:04 am
Hugo Kornelis (2/6/2013)
Dineshbabu (2/6/2013)
But you steal some of my time by making me to sit and calculate each and every statement..:-) .You could have saved that time. I just checked for which statements the parentheses matched the order SQL Server would use without parentheses and for which statement a different order was forced. Only one forced a different order, so that had to be the correct answer.
+1
Same numbers and operators, only parenthesis change position. This is a pure mathematical question! No calculation required.
February 6, 2013 at 1:06 am
Good reminder of basic maths.
Thanks for the question
-------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
I would never join a club that would allow me as a member - Groucho Marx
Viewing 15 posts - 1 through 15 (of 59 total)
You must be logged in to reply to this topic. Login to reply