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: Dynamic SQL and function purity

Re: Dynamic SQL and function purity

From: Brian Gastineau <bgastine_at_giveblood.org>
Date: 1997/05/08
Message-ID: <01bc5c00$849a6e80$b90110ac@gastineau1.giveblood.org>#1/1

Cancel the request for an explanation of DBMS_SQL and RESTRICT_REFERENCES. I found where this was covered thoroughly in a thread "ORA-06571 error using DBMS_SQL in PL/SQL function" started by Robert Goodwin in November 1995. (Deja News is wonderful!)

Suggestions for workarounds still welcomed.

Brian Gastineau <bgastine_at_giveblood.org> wrote in article <01bc5bfc$9b81ea00$b90110ac_at_gastineau1.giveblood.org>...
> I am having difficulty creating a package with functions for use in SQL
> statements. It appears that the DBMS_SQL package violates the
> RESTRICT_REFERENCES(WNDS) pragma. Is this correct? It would make sense
 to
> me since the PL/SQL compiler can't confirm that the package won't change
> the database.
>
> Pointers to workarounds appreciated.
>
> Thanks,
> Brian
> bgastine_at_giveblood.org
>
Received on Thu May 08 1997 - 00:00:00 CDT

Original text of this message

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