Comments posted to this topic are about the item data type precedence!
"In SQL Server 2005, which of these data types have the highest and lowest precedence respectively?"
Yet another example of an abysmally worded question.
This question MUST have two answers, but we could tick only one.
The word "respectively" is not only superfluous but is also a distraction.
Can we PLEASE have more thorough editing of questions.
You never know: reading my book: "All about your computer" might just tell you something you never knew!
I have to agree...
respective to the first answer, the second has a lower order of precedence for both answer 1, and 2... because user defined is the top... and char/binary are both lower in precedence...
The other three are in reverse order of precedence so they're wrong.
I got it right by guessing, but both of the first two answers are correct with respect to themselves 😛
Keep in mind the question asked for highest and lowest respectively. If construed differently than the highest possible and then the lowest possible datatypes; we would still have to look at the largest difference in precedence that could be surmised by the precedence order.
Reading this question and then looking at the answers, we can see that each answer had two datatypes listed - thus respectively in those answers the first would be highest and the second would be lowest.
Pretty straight forward question and answer.
I have given a name to my pain...MCM SQL Server, MVP
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
Hall of Fame
hey, this was tricky one!
Hall of Fame
I knew about that user-defined data types was the highest and I would have bet a lot that char was lower than binary...
Well, that just proove that there are some days that you might be wrong, even if you are certain à 200%!!
Thanks for the question. I learned again 😀
Viewing 7 posts - 1 through 6 (of 6 total)