<?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: Resolving Oracle &#8220;ORA-00942: table or view does not exist &#8221; Error</title>
	<atom:link href="http://www.dbuggr.com/smallwei/resolving-ora-00942-table-view-exist/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbuggr.com/smallwei/resolving-ora-00942-table-view-exist/</link>
	<description>Share Knowledge &#38; Be Rewarded</description>
	<lastBuildDate>Fri, 03 Feb 2012 23:13:48 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: smallwei</title>
		<link>http://www.dbuggr.com/smallwei/resolving-ora-00942-table-view-exist/comment-page-1/#comment-294</link>
		<dc:creator>smallwei</dc:creator>
		<pubDate>Wed, 11 Nov 2009 01:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbuggr.com/smallwei/resolving-ora-00942-table-view-exist/#comment-294</guid>
		<description>&lt;blockquote&gt;Official Oracle explanation:
Cause:	The table or view entered does not exist, a synonym that is not allowed here was used, or a view was referenced where a table is required. Existing user tables and views can be listed by querying the data dictionary. Certain privileges may be required to access the table. If an application returned this message, the table the application tried to access does not exist in the database, or the application does not have access to it.
Action:	Check each of the following:

    - the spelling of the table or view name.
    - that a view is not specified where a table is required.
    - that an existing table or view name exists.

Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.

Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.&lt;/blockquote&gt;

&lt;strong&gt;Here are the things you should verify:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Make sure the spelling of the object is correct.&lt;/li&gt;
&lt;li&gt;Double check the object you are referring to actually exists. Login to the target schema and use the following sql to verify:&lt;/li&gt;
&lt;code&gt;-- Replace YOUR_OBJECT_NAME with the object name in question. (use upper case)
select owner, object_type from all_objects where object_name = &#039;YOUR_OBJECT_NAME&#039;;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;If you are using DB LINK, or the object is in another schema, make sure your user has permission to the object in the target schema.&lt;/li&gt;
&lt;li&gt;If ORA-00942 occurred during materialized view refresh, try to enable SQL TRACE for your session (ALTER SESSION SET SQL_TRACE = TRUE;) and verify the error in the trace file.&lt;/li&gt;
&lt;li&gt;If you are doing import and encounter ORA-00942, it could relate to another table that is not being imported. Basically, when it is thrown after imports, the system was trying to locate the parent table of the imported child table. Try to do the following things to resolve:
&lt;ol&gt;
&lt;li&gt;Enable log output for your import. (parameter: log=[LOG_FILE_NAME])&lt;/li&gt;
&lt;li&gt;Use import Show = Y to see what import intends to do, Show = Y will not really import anything. You can see see if your table has a child constraint on it.&lt;/li&gt;
&lt;li&gt;Import the table with Show = N and Rows = N to build the new table without data, then disable all constraints on new tables.&lt;/li&gt;
&lt;li&gt;Import the table again with Ignore = Y.&lt;/li&gt;
&lt;li&gt;Enable the constraints again on a new table.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;</description>
		<content:encoded><![CDATA[<blockquote><p>Official Oracle explanation:<br />
Cause:	The table or view entered does not exist, a synonym that is not allowed here was used, or a view was referenced where a table is required. Existing user tables and views can be listed by querying the data dictionary. Certain privileges may be required to access the table. If an application returned this message, the table the application tried to access does not exist in the database, or the application does not have access to it.<br />
Action:	Check each of the following:</p>
<p>    &#8211; the spelling of the table or view name.<br />
    &#8211; that a view is not specified where a table is required.<br />
    &#8211; that an existing table or view name exists.</p>
<p>Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.</p>
<p>Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.</p></blockquote>
<p><strong>Here are the things you should verify:</strong></p>
<ul>
<li>Make sure the spelling of the object is correct.</li>
<li>Double check the object you are referring to actually exists. Login to the target schema and use the following sql to verify:</li>
<p><pre><code>-- Replace YOUR_OBJECT_NAME with the object name in question. (use upper case)
select owner, object_type from all_objects where object_name = &#039;YOUR_OBJECT_NAME&#039;;</code></pre></p>
<li>If you are using DB LINK, or the object is in another schema, make sure your user has permission to the object in the target schema.</li>
<li>If ORA-00942 occurred during materialized view refresh, try to enable SQL TRACE for your session (ALTER SESSION SET SQL_TRACE = TRUE;) and verify the error in the trace file.</li>
<li>If you are doing import and encounter ORA-00942, it could relate to another table that is not being imported. Basically, when it is thrown after imports, the system was trying to locate the parent table of the imported child table. Try to do the following things to resolve:
<ol>
<li>Enable log output for your import. (parameter: log=[LOG_FILE_NAME])</li>
<li>Use import Show = Y to see what import intends to do, Show = Y will not really import anything. You can see see if your table has a child constraint on it.</li>
<li>Import the table with Show = N and Rows = N to build the new table without data, then disable all constraints on new tables.</li>
<li>Import the table again with Ignore = Y.</li>
<li>Enable the constraints again on a new table.</li>
</ol>
</li>
</ul>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
