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

Home -> Community -> Usenet -> c.d.o.server -> Re: Creating an index on a view

Re: Creating an index on a view

From: Tony Andrews <andrewst_at_onetel.com>
Date: 13 Oct 2005 06:23:02 -0700
Message-ID: <1129209782.577774.309020@g43g2000cwa.googlegroups.com>


Paul wrote:
> Does anybody have any thoughts on this?

Further thoughts: why use a function here in the first place? Just do this:

CREATE VIEW VIEW1
(IDCOLUMN,
 DESCRIPTION)
AS
SELECT T1.IDCOLUMN, T2.DESCRIPTION
FROM TABLE1 t2, TABLE2 T2
WHERE T1.ID = T2.ID; Much more efficient... Received on Thu Oct 13 2005 - 08:23:02 CDT

Original text of this message

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