November 10, 2011 at 7:14 am
Any way I think ORDER BY constant
should be innofensive. Why such a severe message?
Regards,
Iulian
November 10, 2011 at 7:25 am
Iulian -207023 (11/10/2011)
Any way I thinkORDER BY constant
should be innofensive. Why such a severe message?Regards,
Iulian
Iulian,
ORDER BY 2
does not mean the same as
ORDER BY constant
, it means order by the second column listed in the select statement
November 10, 2011 at 7:30 am
Thanks Philip, 🙂 now I see it. They thought at this one too isn't it?
Regards,
Iulian
November 10, 2011 at 7:16 pm
Hugo Kornelis (11/10/2011)
tilew-948340 (11/9/2011)
Why the quey works fine if I remove the "order by 2" if its a conversion bug?Because the bug is not introduced by conversion only, but by the combination of an INSTERSECT query with an ORDER BY and an implicit conversion in the right-hand side.
Did you follow the link Paul White posted earlier?
Yes I did, but it does not explain the bug as well as you do, so I did not get it 😀
Thanks!
Viewing 4 posts - 61 through 63 (of 63 total)
You must be logged in to reply to this topic. Login to reply