Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: select across owner
Lucas Stevens wrote:
>
> Hi,
>
> Newbie here,
>
> How do you select across owners with the same tablename?
>
> Ex
>
> SELECT FirstName
> FROM [all owner of].employee
>
> Lucas
If you want to do with with plain old SQL you will need to code them explicitly:
select * from owner1.employee
union all
select * from owner2.employee
union all
etc etc
hth
connor
-- ========================= Connor McDonald http://www.oracledba.co.uk "Some days you're the pigeon, some days you're the statue"Received on Mon Mar 24 2003 - 20:07:27 CST