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: Deadly OPTIMIZER_SECURE_VIEW_MERGING=TRUE

Re: Deadly OPTIMIZER_SECURE_VIEW_MERGING=TRUE

From: Noons <wizofoz2k_at_yahoo.com.au>
Date: Fri, 7 Dec 2007 23:27:32 -0800 (PST)
Message-ID: <6fac1d98-cabe-47f5-ad0f-576808df1613@d27g2000prf.googlegroups.com>


On Dec 6, 5:08 am, Ben <benal..._at_yahoo.com> wrote:

> problem. I'd would have to say it is probably because the ERP system
> uses fully qualified sql statments.

Bingo. If they are fully qualified table references (owner.table_name) then the problem doesn't show up.

> Do you know if this can happen if you are logged in as one of the
> schema owners? Is this limited to a certain platform?

When I got hit, our application had a generic login and used a "alter session set current_schema" on the login trigger to give it access to tables of a given schema. Our sql had no owner.table_name as we wanted to be able to execute it against a different set of tables by simply changing the login trigger. Turned out to be a surprise party... Received on Sat Dec 08 2007 - 01:27:32 CST

Original text of this message

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