Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Parameterized Views

Re: Parameterized Views

From: Neil Overend <neiloverend_at_gmail.com>
Date: Wed, 19 Sep 2007 19:21:44 +0100
Message-ID: <5acbeade0709191121n6c447e06x62d0ff2f8df96b4a@mail.gmail.com>


CEATE VIEW v_view AS
select delegate_userid, orgid, login
 from table1
union
select delegate_userid, orgid, login
 from table2
union
select delegate_userid, orgid, login
 from table3

then do

select * from v_view
where login = 'SOME_USER'

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Sep 19 2007 - 13:21:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US