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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Not the same in SQL+ and in a function.

Re: Not the same in SQL+ and in a function.

From: André Klück <akluck01_at_wxs.nl>
Date: Thu, 24 Aug 2000 20:57:39 +0200
Message-ID: <39A57023.BA8BF7B7@wxs.nl>

Oliver,

Don't know about optimizer-changes, never heard off, never experianced. What I did come across, is that grants in PL/SQL are NOT THE SAME as in SQL*Plus. This goes for grants got via a database role. Check that out.

sUCCes,
André

Olivier wrote:

> Hello,
> I have the following problem :
> I run an 'INSERT INTO xxx SELECT /*+RULE */ a,b,c,d FROM ....' to insert
> rows in a table, it works well in SQL+ but when I put the inert statement in
> a function it never finishes (I stopped it after 30 minutes), the database
> default optimizer mode is CHOOSE but it’s much slower than the RULE for this
> select statement. Does the function disable the HINT ? Is it another
> problem ?
> Thanks for your help.
> Olivier.
Received on Thu Aug 24 2000 - 13:57:39 CDT

Original text of this message

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