<?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: SQL*Loader external tables</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/oracle-sql-programming/creating-an-external-table-that-uses-sqlloader/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Sat, 13 Mar 2010 05:11:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/creating-an-external-table-that-uses-sqlloader/comment-page-1/#comment-11334</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 03 Nov 2009 20:05:08 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=34#comment-11334</guid>
		<description>Step 1 needs a ; at the end</description>
		<content:encoded><![CDATA[<p>Step 1 needs a ; at the end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donald</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/creating-an-external-table-that-uses-sqlloader/comment-page-1/#comment-7140</link>
		<dc:creator>Donald</dc:creator>
		<pubDate>Fri, 17 Jul 2009 14:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=34#comment-7140</guid>
		<description>Thanks for your article. I need your advice inusing the function &#039;replace&#039; in the access parameters of the External Table. I am replacing all the &#039;\&#039; with a null value in column straatnaam_nen( &quot;replace(:STRAATNAAM_NEN, &#039;\&#039;, &#039;&#039;)&quot; )

Appreciate your help,

Kind Regards
Donald</description>
		<content:encoded><![CDATA[<p>Thanks for your article. I need your advice inusing the function &#8216;replace&#8217; in the access parameters of the External Table. I am replacing all the &#8216;\&#8217; with a null value in column straatnaam_nen( &#8220;replace(:STRAATNAAM_NEN, &#8216;\&#8217;, &#8221;)&#8221; )</p>
<p>Appreciate your help,</p>
<p>Kind Regards<br />
Donald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/creating-an-external-table-that-uses-sqlloader/comment-page-1/#comment-6902</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Sun, 12 Jul 2009 01:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=34#comment-6902</guid>
		<description>Luis, I finally got back to this and did it justice. I apologize for the delay. You can find it &lt;a href=&quot;http://blog.mclaughlinsoftware.com/2009/07/11/external-table-query-fix/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Luis, I finally got back to this and did it justice. I apologize for the delay. You can find it <a href="http://blog.mclaughlinsoftware.com/2009/07/11/external-table-query-fix/" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/creating-an-external-table-that-uses-sqlloader/comment-page-1/#comment-4302</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Tue, 12 May 2009 01:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=34#comment-4302</guid>
		<description>I can replicate your problem if I change the ownership of the directory to something other than the Oracle database OS user&#039;s account and restrict both group and user read access. Here&#039;s the error I got and &lt;a href=&quot;http://blog.mclaughlinsoftware.com/plsql-programming/how-to-guarantee-an-external-file-before-querying/&quot; rel=&quot;nofollow&quot;&gt;another post about discovering the file&lt;/a&gt;.

&lt;pre lang=&quot;SQL&quot;&gt;
SQL&gt; SELECT * FROM character;
SELECT * FROM character
*
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file character.csv in DOWNLOAD not found
&lt;/pre&gt;

I&#039;d suggest you change the directory permissions to 740 if you want to allow only read or 760 if you want to allow read and write. The other way I replicated it was to have no physical file present. That&#039;s a different issue. I&#039;ve added to the blog post to solve for it.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>I can replicate your problem if I change the ownership of the directory to something other than the Oracle database OS user&#8217;s account and restrict both group and user read access. Here&#8217;s the error I got and <a href="http://blog.mclaughlinsoftware.com/plsql-programming/how-to-guarantee-an-external-file-before-querying/" rel="nofollow">another post about discovering the file</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">SQL<span style="color: #66cc66;">&gt;</span> <span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> character;
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> character
<span style="color: #66cc66;">*</span>
ERROR at line <span style="color: #cc66cc;">1</span>:
ORA<span style="color: #66cc66;">-</span><span style="color: #cc66cc;">29913</span>: error <span style="color: #993333; font-weight: bold;">IN</span> executing ODCIEXTTABLEOPEN callout
ORA<span style="color: #66cc66;">-</span><span style="color: #cc66cc;">29400</span>: <span style="color: #993333; font-weight: bold;">DATA</span> cartridge error
KUP<span style="color: #66cc66;">-</span>04040: file character<span style="color: #66cc66;">.</span>csv <span style="color: #993333; font-weight: bold;">IN</span> DOWNLOAD <span style="color: #993333; font-weight: bold;">NOT</span> found</pre></div></div>

<p>I&#8217;d suggest you change the directory permissions to 740 if you want to allow only read or 760 if you want to allow read and write. The other way I replicated it was to have no physical file present. That&#8217;s a different issue. I&#8217;ve added to the blog post to solve for it.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Isunza</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/creating-an-external-table-that-uses-sqlloader/comment-page-1/#comment-4295</link>
		<dc:creator>Luis Isunza</dc:creator>
		<pubDate>Mon, 11 May 2009 22:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=34#comment-4295</guid>
		<description>I need your help. When i created a external table all is ok. But when I run a select return the next error:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file TEMP.LST in EXT_DIR not found
ORA-06512: at &quot;SYS.ORACLE_LOADER&quot;, line 14
ORA-06512: at line 1

Can you help me?

Thanks.</description>
		<content:encoded><![CDATA[<p>I need your help. When i created a external table all is ok. But when I run a select return the next error:<br />
ORA-29913: error in executing ODCIEXTTABLEOPEN callout<br />
ORA-29400: data cartridge error<br />
KUP-04040: file TEMP.LST in EXT_DIR not found<br />
ORA-06512: at &#8220;SYS.ORACLE_LOADER&#8221;, line 14<br />
ORA-06512: at line 1</p>
<p>Can you help me?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karsten</title>
		<link>http://blog.mclaughlinsoftware.com/oracle-sql-programming/creating-an-external-table-that-uses-sqlloader/comment-page-1/#comment-813</link>
		<dc:creator>Karsten</dc:creator>
		<pubDate>Tue, 10 Feb 2009 11:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://maclochlainn.wordpress.com/?page_id=34#comment-813</guid>
		<description>As a side note, keep your CSV files in the directory you create with the CREATE DIRECTORY ... command. The CREATE TABLE ... statement will likely be in an SQL file, but you put that into the BIN dir (or another place).</description>
		<content:encoded><![CDATA[<p>As a side note, keep your CSV files in the directory you create with the CREATE DIRECTORY &#8230; command. The CREATE TABLE &#8230; statement will likely be in an SQL file, but you put that into the BIN dir (or another place).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
