﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals / Oracle Forum / ORA - Oracle Database Error Codes - Search via specific error codes. / ORA-20000 Through ORA-29968  / ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FranklinFaces.com - Oracle &amp; SQL Server Database Forums for all IT Professionals</description><link>http://www.franklinfaces.com/</link><webMaster>no-reply@FranklinFaces.com</webMaster><lastBuildDate>Sat, 19 May 2012 18:47:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist</title><link>http://www.franklinfaces.com/Topic256-56-1.aspx</link><description>&lt;STRONG&gt; ORA-22929: invalid or missing directory name&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Cause: The required directory name is invalid or missing.&lt;BR&gt;&lt;BR&gt;Action: Specify a valid name.&lt;BR&gt;&lt;BR&gt;Please add more information about this Error</description><pubDate>Mon, 14 Jun 2010 10:03:38 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist</title><link>http://www.franklinfaces.com/Topic256-56-1.aspx</link><description>&lt;SPAN class=MsgBodyText&gt;If I'm not wrong, this is wrong:&lt;/SPAN&gt;&lt;P&gt;&lt;SPAN class=MsgBodyText&gt;&lt;SPAN&gt;DEFAULT DIRECTORY /u02/oradata/imp/&lt;/P&gt;&lt;DIV class=codehead&gt;&lt;/SPAN&gt;"Directory", in this context, isn't a "real" directory which exists on your disk, but Oracle object which is to be created (as a privileged user) using the CREATE DIRECTORY statement.&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;DIV class=pre sizset="1" sizcache="0"&gt;&lt;SPAN&gt;&lt;DIV class=codehead&gt; &lt;/DIV&gt;&lt;PRE&gt;#/u01/oracle&amp;gt;sqlplus system/pwdcreate or replace directory ext_dir as '/tmp';   --&amp;gt; EXT_DIR is a directory name&lt;/PRE&gt;&lt;PRE&gt;grant read, write on directory ext_dir to james;&lt;/PRE&gt;&lt;PRE&gt;connect &lt;A href="mailto:james/james@ora10g"&gt;james/james@ora10g&lt;/A&gt;&lt;/PRE&gt;&lt;PRE&gt;CREATE TABLE ext_table_csv &lt;/PRE&gt;&lt;PRE&gt;(  sifra_kpc    VARCHAR2(10),   &lt;/PRE&gt;&lt;PRE&gt;brojilo      VARCHAR2(20))&lt;/PRE&gt;&lt;PRE&gt;ORGANIZATION EXTERNAL( TYPE oracle_loader  &lt;/PRE&gt;&lt;PRE&gt;DEFAULT DIRECTORY ext_dir                        --&amp;gt; EXT_DIR is then used in CREATE TABLE statement...&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 14 Jun 2010 10:01:29 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist</title><link>http://www.franklinfaces.com/Topic256-56-1.aspx</link><description>&lt;SPAN class=MsgBodyText&gt;Directory is an Oracle direcory object not an OS one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=MsgBodyText&gt;You need to specify the name of the directory not the actual location.&lt;/SPAN&gt;</description><pubDate>Mon, 14 Jun 2010 09:57:42 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>RE: ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist</title><link>http://www.franklinfaces.com/Topic256-56-1.aspx</link><description>&lt;SPAN class=MsgBodyText&gt;Hi&lt;BR&gt;&lt;BR&gt;When i execute the following code,following error will come..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=MsgBodyText&gt;&lt;BR&gt;ERROR at line 7:&lt;BR&gt;ORA-22929: invalid or missing directory name&lt;BR&gt;Can anyone clarify this..&lt;BR&gt;&lt;BR&gt;CREATE TABLE SAMPLE2_EXT (&lt;BR&gt;field1 varchar2(4000)&lt;BR&gt;) &lt;BR&gt;ORGANIZATION EXTERNAL&lt;BR&gt;(&lt;BR&gt;TYPE ORACLE_LOADER&lt;BR&gt;DEFAULT DIRECTORY /u02/oradata/imp/&lt;BR&gt;ACCESS PARAMETERS&lt;BR&gt;(&lt;BR&gt;records delimited by newline&lt;BR&gt;badfile DAT_DIR:'SAMPLE2_EXT%a_%p.bad'&lt;BR&gt;logfile DAT_DIR:'SAMPLE2_EXT%a_%p.log'&lt;BR&gt;fields LRTRIM REJECT ROWS WITH ALL NULL FIELDS (field1 char(4000))&lt;BR&gt;)&lt;BR&gt;LOCATION ('sample2.dat')&lt;BR&gt;)&lt;BR&gt;REJECT LIMIT 10;&lt;/SPAN&gt;</description><pubDate>Mon, 14 Jun 2010 09:56:50 GMT</pubDate><dc:creator>Admin</dc:creator></item><item><title>ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist</title><link>http://www.franklinfaces.com/Topic256-56-1.aspx</link><description>&lt;FONT color=#3333bb&gt;ORA-22929: invalid or missing directory name and ORA-06564: object Xyz does not exist &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333bb&gt;You can see this type of ora error when executing a command like:&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ALTER TABLE CUSTOMER_SERVICE&lt;BR&gt;DEFAULT DIRECTORY 'IMP_DIR';&lt;BR&gt;&lt;BR&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;ORA-22929: invalid or missing directory name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#3333bb&gt;The problem is in the single quotes surrounding the directory object name.&lt;BR&gt;The same error is also returned when using a &lt;SPAN style="FONT-FAMILY: courier new"&gt;CREATE TABLE&lt;/SPAN&gt; statement.&lt;BR&gt;&lt;BR&gt;The correct syntax requires either double quotes for case sensitive names or no quotes at all for case insensitive names.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#115555&gt;ALTER TABLE IMP_BAD_BOXES&lt;BR&gt;DEFAULT DIRECTORY "IMP_DIR";&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#117777&gt;or&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#115555&gt;ALTER TABLE IMP_BAD_BOXES&lt;BR&gt;DEFAULT DIRECTORY IMP_DIR;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;FONT color=#3333bb&gt;Note that when using case sensitive names, if you mistype the name you'll get:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;ORA-06564: object Import_Dir does not exist&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;&lt;/SPAN&gt; </description><pubDate>Mon, 14 Jun 2010 09:55:25 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>
