OR(1,1) - equal criteria

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

OR(1,1) - equal criteria

Post by BittenApple »

Hello team,

I am thinking during this Corona pandemic:
What happens in the world of database engine if we have OR in our where clause with equal criteria? Will we have 2 rows be back in the result set?

Respectfully,
BittenApple

User avatar
HansV
Administrator
Posts: 78448
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: OR(1,1) - equal criteria

Post by HansV »

No, it will not lead to duplication of records in the result set.
Best wishes,
Hans

BittenApple
BronzeLounger
Posts: 1498
Joined: 01 Mar 2015, 02:03

Re: OR(1,1) - equal criteria

Post by BittenApple »

Wow!
Great response.
Having said that, as soon as it meets the criteria in OR, it skip second argument.
Respectfully,
BittenApple