<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Dynamically Call PL/SQL Procedure in Oracle</title>
	<atom:link href="http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-364615</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Tue, 30 Jun 2009 23:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-364615</guid>
		<description>@Oliver: re invoker vs definer rights - that&#039;s what I was hinting at when used procedure to clean up. ;-)</description>
		<content:encoded><![CDATA[<p>@Oliver: re invoker vs definer rights &#8211; that&#8217;s what I was hinting at when used procedure to clean up. ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier Mengué</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-364576</link>
		<dc:creator>Olivier Mengué</dc:creator>
		<pubDate>Tue, 30 Jun 2009 15:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-364576</guid>
		<description>@plsql: you can bind variables in the EXECUTE IMMEDIATE call. See the reference documentation about EXECUTE IMMEDIATE.</description>
		<content:encoded><![CDATA[<p>@plsql: you can bind variables in the EXECUTE IMMEDIATE call. See the reference documentation about EXECUTE IMMEDIATE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier Mengué</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-364575</link>
		<dc:creator>Olivier Mengué</dc:creator>
		<pubDate>Tue, 30 Jun 2009 15:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-364575</guid>
		<description>There is an other issue: user rights.

PL/SQL procedures run with the rights of the user which own them instead of the rights of the user who call them.
This means that the call_dynamically() presented here may also be a way for a user to escape a sandbox to get higher privileges.</description>
		<content:encoded><![CDATA[<p>There is an other issue: user rights.</p>
<p>PL/SQL procedures run with the rights of the user which own them instead of the rights of the user who call them.<br />
This means that the call_dynamically() presented here may also be a way for a user to escape a sandbox to get higher privileges.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-362793</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Mon, 15 Jun 2009 12:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-362793</guid>
		<description>@plsql: Can you clarify potential issues? I don&#039;t see any additional complications. I showed how to use that procedure. If you want, you can even make the wrapper more fine-tuned with additional parameters to be passed.</description>
		<content:encoded><![CDATA[<p>@plsql: Can you clarify potential issues? I don&#8217;t see any additional complications. I showed how to use that procedure. If you want, you can even make the wrapper more fine-tuned with additional parameters to be passed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plsql</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-362609</link>
		<dc:creator>plsql</dc:creator>
		<pubDate>Sat, 13 Jun 2009 17:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-362609</guid>
		<description>Good discussion. One question is : what if the need to pass parameter to this dynamic procedure. Might be an issue here.</description>
		<content:encoded><![CDATA[<p>Good discussion. One question is : what if the need to pass parameter to this dynamic procedure. Might be an issue here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #149: a Carnival of the Vanities for DBAs &#124; Pythian Group Blog</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-361977</link>
		<dc:creator>Log Buffer #149: a Carnival of the Vanities for DBAs &#124; Pythian Group Blog</dc:creator>
		<pubDate>Fri, 05 Jun 2009 16:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-361977</guid>
		<description>[...] Here on the Pythian blog, Alex Gorbachev showed how to dynamically call a PL/SQL procedure. [...]</description>
		<content:encoded><![CDATA[<p>[...] Here on the Pythian blog, Alex Gorbachev showed how to dynamically call a PL/SQL procedure. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-361931</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Fri, 05 Jun 2009 01:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-361931</guid>
		<description>Thanks for the feedback guys. I didn&#039;t touch on twists with definer and invoker privileges but that&#039;s another topic.

joel, LOL -- that&#039;s funny indeed. I won&#039;t correct it and leave it as is -- it&#039;s too funny. :)</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback guys. I didn&#8217;t touch on twists with definer and invoker privileges but that&#8217;s another topic.</p>
<p>joel, LOL &#8212; that&#8217;s funny indeed. I won&#8217;t correct it and leave it as is &#8212; it&#8217;s too funny. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel garry</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-361919</link>
		<dc:creator>joel garry</dc:creator>
		<pubDate>Thu, 04 Jun 2009 18:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-361919</guid>
		<description>&lt;i&gt;it can be used to run anonymous PL/SQL blog &lt;/i&gt;

As far as typos go, that was pretty entertaining.  It could...</description>
		<content:encoded><![CDATA[<p><i>it can be used to run anonymous PL/SQL blog </i></p>
<p>As far as typos go, that was pretty entertaining.  It could&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LewisC</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-361889</link>
		<dc:creator>LewisC</dc:creator>
		<pubDate>Thu, 04 Jun 2009 11:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-361889</guid>
		<description>I think I have to go with Alex on this one.  There is probably a better approach than dynamic calls and definitely a better approach than reflection.  ugh.  That just sounds like a nightmare in the long run.

LewisC</description>
		<content:encoded><![CDATA[<p>I think I have to go with Alex on this one.  There is probably a better approach than dynamic calls and definitely a better approach than reflection.  ugh.  That just sounds like a nightmare in the long run.</p>
<p>LewisC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Hall</title>
		<link>http://www.pythian.com/news/2733/how-to-dynamically-call-plsql-procedure-in-oracle/#comment-361884</link>
		<dc:creator>Tim Hall</dc:creator>
		<pubDate>Thu, 04 Jun 2009 10:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2733#comment-361884</guid>
		<description>Hi.

Without wanting to sound obvious, the big issue with dynamically calling a procedure is what happens if the procedure is not there? :)

People really need to think carefully about whether they actually need dynamic SQL in their production code. It&#039;s a very good way of introducing runtime errors into your code. There is a warm and fuzzy feeling about no compile-time errors/warnings, but this means nothing if you are using dynamic SQL.

Obvious warning over... :)

Regarding calling a private procedure, that is what invoker rights is for. :)

Cheers

Tim...</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>Without wanting to sound obvious, the big issue with dynamically calling a procedure is what happens if the procedure is not there? :)</p>
<p>People really need to think carefully about whether they actually need dynamic SQL in their production code. It&#8217;s a very good way of introducing runtime errors into your code. There is a warm and fuzzy feeling about no compile-time errors/warnings, but this means nothing if you are using dynamic SQL.</p>
<p>Obvious warning over&#8230; :)</p>
<p>Regarding calling a private procedure, that is what invoker rights is for. :)</p>
<p>Cheers</p>
<p>Tim&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

