Link to home
Start Free TrialLog in
Avatar of morphman
morphman

asked on

select from partition range?

Is it possible to select from a partition range?

ie.

something like

select * from table partition range (partition1,partition3);

SOLUTION
Avatar of seazodiac
seazodiac
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
select p_no, empno from (
select 1 p_no, empno from emp partition (p1)
union all
select 2 p_no, empno  from emp partition (p2)
union all
select 3 p_no, empno  from emp partition (p3))
where p_no betwee 1 and 2;

Avatar of morphman
morphman

ASKER

I guess the answer is no then..