Monday, October 10, 2016

"in" in access

in ssql server this

select * from
(select 1 as p union select 2 as p union select 3 as p ) as main

where p in (1,1)

will give you  1 row

in access - you will get 2 rows


No comments:

Post a Comment