Well maybe the rushmore optimiser will not work if you include the parentheses, but the query should still work in every case.
>I'm not sure about using parentheses, I've been told by Microsoft support that they can affect how code works.
>
>Some years ago, I had a problem with Foxpro 2.5 and an SQL select returning unexpected results, after several calls, one support engineer asked to see a copy of the code, which was in the form :
>
>select ..... where (a=b) AND (c=d) AND (e=f)
>
>he asked me why the parentheses were there - so I told him to aid readability - & in all seriousness he told me that they weren't necessary & if I removed them then the select would work correctly.
>
>(At that point, I was actually desperate enough to try & of course it didn't work. Since then I've been very dubious about the quality of MS tech support.)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only