<?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: DBD::Oracle &#8212; Better Embedded Types</title>
	<atom:link href="http://www.pythian.com/news/2341/dbd-oracle-better-embedded-types/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/2341/dbd-oracle-better-embedded-types/</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: John Scoles</title>
		<link>http://www.pythian.com/news/2341/dbd-oracle-better-embedded-types/#comment-447115</link>
		<dc:creator>John Scoles</dc:creator>
		<pubDate>Mon, 26 Jul 2010 16:18:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2341#comment-447115</guid>
		<description>Hmm I think you are confusing an enbedded &#039;Table&#039; type with a PL/SQL table type (ref cursor)

SYS.DBMS_SQL.VARCHAR2_TABLE  in the pod for a possiable way to do this.

They are two different beasts.

As far as I know you can send a Ref Cursor along others do this.

You might want to try and ask this question on 
DBI users mailing list

dbi-users@perl.org

lots of smart cookies hang out there and have most likely have worked out how to do this allready</description>
		<content:encoded><![CDATA[<p>Hmm I think you are confusing an enbedded &#8216;Table&#8217; type with a PL/SQL table type (ref cursor)</p>
<p>SYS.DBMS_SQL.VARCHAR2_TABLE  in the pod for a possiable way to do this.</p>
<p>They are two different beasts.</p>
<p>As far as I know you can send a Ref Cursor along others do this.</p>
<p>You might want to try and ask this question on<br />
DBI users mailing list</p>
<p><a href="mailto:dbi-users@perl.org">dbi-users@perl.org</a></p>
<p>lots of smart cookies hang out there and have most likely have worked out how to do this allready</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander Saip</title>
		<link>http://www.pythian.com/news/2341/dbd-oracle-better-embedded-types/#comment-447089</link>
		<dc:creator>Alexander Saip</dc:creator>
		<pubDate>Mon, 26 Jul 2010 13:37:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=2341#comment-447089</guid>
		<description>Working on a data migration project, I ran into a need to pass collection (PL/SQL table type) parameters from my Perl code to a procedure that performs parallel upserts in a FORALL loop. Unfortunately, according to the DBD::Oracle documentation, the module &quot;...supports only the &#039;selection&#039; of embedded objects of the following types OBJECT, VARRAY and TABLE in any combination.&quot; I gave it a try anyway, but got back errors like this one:
PLS-00306: wrong number or types of arguments in call to &#039;UPSERTFAKEDATA&#039;
ORA-06550: line 3, column 5.
If you are interested, I could send you both Perl and PL/SQL code. I wonder if there is any way to do what I need without switching to some other programming language?</description>
		<content:encoded><![CDATA[<p>Working on a data migration project, I ran into a need to pass collection (PL/SQL table type) parameters from my Perl code to a procedure that performs parallel upserts in a FORALL loop. Unfortunately, according to the DBD::Oracle documentation, the module &#8220;&#8230;supports only the &#8216;selection&#8217; of embedded objects of the following types OBJECT, VARRAY and TABLE in any combination.&#8221; I gave it a try anyway, but got back errors like this one:<br />
PLS-00306: wrong number or types of arguments in call to &#8216;UPSERTFAKEDATA&#8217;<br />
ORA-06550: line 3, column 5.<br />
If you are interested, I could send you both Perl and PL/SQL code. I wonder if there is any way to do what I need without switching to some other programming language?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

