I have two tables with same number of columns and similar datatypes say
t1(c1,c2,c3,c4)
and t2(c1,c2,c3,c4)
i read about intersect funcion in sql books online..
intersect({[1],[2],[3]},{[2],[3],[4]}) will return 1 and 4
so i want to have the same results with my queries?
say
intersect({select c1,c2,c3,c4 from t1},
{select c1,c2,c3,c4 from t2})
but it does n't work...
Is there any other way to get the result of the intersection..??
Sri Prabu Vontlin
t1(c1,c2,c3,c4)
and t2(c1,c2,c3,c4)
i read about intersect funcion in sql books online..
intersect({[1],[2],[3]},{[2],[3],[4]}) will return 1 and 4
so i want to have the same results with my queries?
say
intersect({select c1,c2,c3,c4 from t1},
{select c1,c2,c3,c4 from t2})
but it does n't work...
Is there any other way to get the result of the intersection..??
Sri Prabu Vontlin