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: Urgent --> Calling function from a select statement in which

RE: Urgent --> Calling function from a select statement in which

From: Alex Hillman <alex_hillman_at_physia.com>
Date: Sat, 3 Jun 2000 16:41:08 -0400
Message-Id: <10517.107654@fatcity.com>


This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFCD9C.0BBD3780
Content-Type: text/plain;

        charset="iso-8859-1"

You need to use pragma RESTRICT_REFERENCES(function_name, WNDS) in your package. It is not required for stand alone function.

Alex Hillman

-----Original Message-----
From: Wasmund, Derek [mailto:DWasmund_at_EFTIA.com] Sent: Saturday, June 03, 2000 3:37 PM
To: Multiple recipients of list ORACLE-L Subject: Urgent --> Calling function from a select statement in which the

Hello, I am trying to call a function from within a select statement and I am receiving the message "Function function_name does not guarantee not to update database". The function contains dynamic sql, however there is no update code. This will work under version 8 (8i) but does not work under version 7(7.34). Unfortunately I need to rely on executing the function from a select statement and of course is of an extermely urgent nature. Does anyone have any ideas?

Thanks!

Derek

-- 
Author: Wasmund, Derek
  INET: DWasmund_at_EFTIA.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

------_=_NextPart_001_01BFCD9C.0BBD3780
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: Urgent --&gt; Calling function from a select statement in =
which the </TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>You need to use pragma =
RESTRICT_REFERENCES(function_name, WNDS) in your package. It is not = required for stand alone function.</FONT></P>
<P><FONT SIZE=3D2>Alex Hillman</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Wasmund, Derek [<A =
HREF=3D"mailto:DWasmund_at_EFTIA.com">mailto:DWasmund_at_EFTIA.com</A>]</FONT>=
<BR><FONT SIZE=3D2>Sent: Saturday, June 03, 2000 3:37 PM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: Urgent --&gt; Calling function from a =
select statement in which</FONT>
<BR><FONT SIZE=3D2>the </FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hello, I am trying to call a function from within a =
select statement and I</FONT>
<BR><FONT SIZE=3D2>am receiving the message &quot;Function =
function_name does not guarantee not to</FONT>
<BR><FONT SIZE=3D2>update database&quot;. The function contains dynamic =
sql, however there is no</FONT>
<BR><FONT SIZE=3D2>update code. This will work under version 8 (8i) but =
does not work under</FONT>
<BR><FONT SIZE=3D2>version 7(7.34). Unfortunately I need to rely on =
executing the function from</FONT>
<BR><FONT SIZE=3D2>a select statement and of course is of an extermely =
urgent nature. Does</FONT>
<BR><FONT SIZE=3D2>anyone have any ideas?</FONT>
</P>

<P><FONT SIZE=3D2>Thanks!</FONT>
</P>

<P><FONT SIZE=3D2>Derek</FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Author: Wasmund, Derek</FONT>
<BR><FONT SIZE=3D2>&nbsp; INET: DWasmund_at_EFTIA.com</FONT>
</P>

<P><FONT SIZE=3D2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) =
538-5051&nbsp; FAX: (858) 538-5051</FONT>
<BR><FONT SIZE=3D2>San Diego, =
California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet = access / Mailing Lists</FONT>
<BR><FONT =
SIZE=3D2>---------------------------------------------------------------= -----</FONT>
<BR><FONT SIZE=3D2>To REMOVE yourself from this mailing list, send an =
E-Mail message</FONT>
<BR><FONT SIZE=3D2>to: ListGuru_at_fatcity.com (note EXACT spelling of =
'ListGuru') and in</FONT>
<BR><FONT SIZE=3D2>the message BODY, include a line containing: UNSUB =
ORACLE-L</FONT>
<BR><FONT SIZE=3D2>(or the name of mailing list you want to be removed =
from).&nbsp; You may</FONT>
<BR><FONT SIZE=3D2>also send the HELP command for other information =
Received on Sat Jun 03 2000 - 15:41:08 CDT

Original text of this message

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