<?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: Oracle 10g: Using The Returning Clause With ADOdb</title>
	<atom:link href="http://borkweb.com/story/oracle-10g-using-the-returning-clause-with-adodb/feed" rel="self" type="application/rss+xml" />
	<link>http://borkweb.com/story/oracle-10g-using-the-returning-clause-with-adodb</link>
	<description>Some People Are Squirrel Handed.</description>
	<lastBuildDate>Thu, 12 Jan 2012 15:56:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: walter</title>
		<link>http://borkweb.com/story/oracle-10g-using-the-returning-clause-with-adodb/comment-page-1#comment-43764</link>
		<dc:creator>walter</dc:creator>
		<pubDate>Mon, 24 May 2010 06:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://borkweb.com/?p=638#comment-43764</guid>
		<description>Can you tell me why this fails?

// Spell out the procedure
$_proc_call = &quot;begin :retval := commentary_functions.insert_article_notes(:article_id, :note, :user_id); end;&quot;;

// Prep the procedure for the actual call
$_stmt = $conn-&gt;Prepare($_proc_call, false);

// Bind the inbound parameters
$conn-&gt;InParameter($_stmt, $_article_id, &#039;article_id&#039;);
$conn-&gt;InParameter($_stmt, $_notes, &#039;note&#039;);
$conn-&gt;InParameter($_stmt, $_user_id, &#039;user_id&#039;);

// Bind the return record set
//            $conn-&gt;OutParameter($stmt, $_cur, &#039;curvar&#039;, -1, OCI_B_CURSOR);
$conn-&gt;OutParameter($_stmt, $_output, &#039;retval&#039;, 32);

// Execute the procedure and return an array
$_rs = $conn-&gt;Execute($_stmt);</description>
		<content:encoded><![CDATA[<p>Can you tell me why this fails?</p>
<p>// Spell out the procedure<br />
$_proc_call = &#8220;begin :retval := commentary_functions.insert_article_notes(:article_id, :note, :user_id); end;&#8221;;</p>
<p>// Prep the procedure for the actual call<br />
$_stmt = $conn-&gt;Prepare($_proc_call, false);</p>
<p>// Bind the inbound parameters<br />
$conn-&gt;InParameter($_stmt, $_article_id, &#8216;article_id&#8217;);<br />
$conn-&gt;InParameter($_stmt, $_notes, &#8216;note&#8217;);<br />
$conn-&gt;InParameter($_stmt, $_user_id, &#8216;user_id&#8217;);</p>
<p>// Bind the return record set<br />
//            $conn-&gt;OutParameter($stmt, $_cur, &#8216;curvar&#8217;, -1, OCI_B_CURSOR);<br />
$conn-&gt;OutParameter($_stmt, $_output, &#8216;retval&#8217;, 32);</p>
<p>// Execute the procedure and return an array<br />
$_rs = $conn-&gt;Execute($_stmt);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Backstrom</title>
		<link>http://borkweb.com/story/oracle-10g-using-the-returning-clause-with-adodb/comment-page-1#comment-41703</link>
		<dc:creator>Adam Backstrom</dc:creator>
		<pubDate>Mon, 22 Dec 2008 19:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://borkweb.com/?p=638#comment-41703</guid>
		<description>I did this and it deleted all my Oracle tables. =(</description>
		<content:encoded><![CDATA[<p>I did this and it deleted all my Oracle tables. =(</p>
]]></content:encoded>
	</item>
</channel>
</rss>

