<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MacLochlainns Weblog &#187; virtual directory</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/tag/virtual-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:21:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How you can read an external directory list from SQL</title>
		<link>http://blog.mclaughlinsoftware.com/2008/06/05/how-you-can-read-an-external-directory-list-from-sql/</link>
		<comments>http://blog.mclaughlinsoftware.com/2008/06/05/how-you-can-read-an-external-directory-list-from-sql/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 04:45:50 +0000</pubDate>
		<dc:creator>maclochlainn</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[oracle.sql.ARRAY]]></category>
		<category><![CDATA[oracle.sql.ArrayDescriptor]]></category>
		<category><![CDATA[physical directory]]></category>
		<category><![CDATA[virtual directory]]></category>

		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?p=31</guid>
		<description><![CDATA[A post last week in the SQL &#38; PL/SQL Forum caught my eye because it referenced an old post by Tom Kyte. That post shows you how to read an external file system directory using Java library wrapped by a PL/SQL program unit. The problem I have with the solution is that it writes the data [...]]]></description>
			<content:encoded><![CDATA[<p>A <a title="Question on how to read an external directory" href="http://forums.oracle.com/forums/thread.jspa?threadID=662531&amp;tstart=315" target="_blank">post</a> last week in the SQL &amp; PL/SQL Forum caught my eye because it referenced an <a title="Reading files from a directory" href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584" target="_blank">old post</a> by Tom Kyte. That post shows you how to read an external file system directory using Java library wrapped by a PL/SQL program unit. The problem I have with the solution is that it writes the data to a table, and then it reads the file list from the table. This type of design requires cleaning up the table after running the function or procedure.</p>
<p>An improvement on Tom’s old solution would be to return the list as a SQL collection data type. A few searches on the Internet and of the Oracle documentation didn’t unearth an example. The referenced <a title="Reading an External Directory from SQL or PL/SQL" href="http://blog.mclaughlinsoftware.com/reading-an-external-directory-from-sql-or-plsql" target="_blank">code</a> and instructions show you how to implement the necessary pieces with a PL/SQL wrapper function.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mclaughlinsoftware.com/2008/06/05/how-you-can-read-an-external-directory-list-from-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
