![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Use VALUES, like this .... ------------------------------ Commands Entered ------------------------------ WITH tableA(x,y) AS( VALUES ('x1' , 1) ) select * from tableA where (x, y) IN (VALUES ( 'x1', 1) ) ; ------------------------------------------------------------------------------ X *Y -- ----------- x1 * * * * * 1 * 1 record(s) selected. Because, right side of multiple values IN predicate should be (fullselect). values-clause make a fullselect. |
![]() |
| Thread Tools | |
| Display Modes | |
| |