Hi,
I need detect if some element in a vector X exists in the vector Y (X and Y are variables)
With the clause IN i solve the one to more, but i dont´t solve the more to one.
The query is some this: Select * from xxxx where (1,3,5) IN (1,3,8,9)
I don´t like write this: Select * from xxxx where ( 1 IN (1,3,8,9) or 3 IN (1,3,8,9) or 5 IN (1,3,8,9) )
Thanks.
I need detect if some element in a vector X exists in the vector Y (X and Y are variables)
With the clause IN i solve the one to more, but i dont´t solve the more to one.
The query is some this: Select * from xxxx where (1,3,5) IN (1,3,8,9)
I don´t like write this: Select * from xxxx where ( 1 IN (1,3,8,9) or 3 IN (1,3,8,9) or 5 IN (1,3,8,9) )
Thanks.