Home Forums SQL Server 2008 SQL Server 2008 - General Multiple columns IN support RE: Multiple columns IN support
Gazareth
One Orange Chip
Points: 27737
More actions
September 26, 2012 at 3:54 am
#1542285
Does the Oracle query check both values in a row? Which would be this:
SELECT
ID,
Name
FROM
EMP_TBL
WHERE
(ID = 1 AND Name = 'foo1')
OR
(ID = 2 AND Name = 'foo2')