﻿<?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-30000 Through ORA-40273   / ORA-31655: no data or metadata objects selected for job / 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>Thu, 09 Sep 2010 14:33:15 GMT</lastBuildDate><ttl>20</ttl><item><title>ORA-31655: no data or metadata objects selected for job</title><link>http://www.franklinfaces.com/Topic135-57-1.aspx</link><description>&lt;FONT color=#3333dd&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;I am getting the following error message when using impdp and trying to import just the tables that were exported using expdp.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;impdp parfile=test.par&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Import: Release 10.2.0.4.0 - 64bit Production on Tuesday, 23 June, 2009 11:27:16&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Copyright (c) 2003, 2007, Oracle.  All rights reserved.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production&lt;BR&gt;With the Partitioning, Data Mining and Real Application Testing options&lt;BR&gt;ORA-31655: no data or metadata objects selected for job&lt;BR&gt;ORA-39039: Schema expression "IN (SELECT object_name FROM "SYS"."SYS_IMPORT_SCHEMA_01" WHERE process_order = -56 AND duplicate BETWEEN 1 AND 1)" contains no valid schemas.&lt;BR&gt;Master table "SYS"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded&lt;BR&gt;Starting "SYS"."SYS_IMPORT_SCHEMA_01":  parfile=test.par&lt;BR&gt;Processing object type TABLE_EXPORT/TABLE/TABLE_DATA&lt;BR&gt;Job "SYS"."SYS_IMPORT_SCHEMA_01" successfully completed at 11:27:20&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Here is my expdp parfile:&lt;/FONT&gt;  &lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;userid="/ as sysdba"&lt;BR&gt;directory=special_export&lt;BR&gt;dumpfile=expdp_NON_LOB_PROD_062309_%U.dmp&lt;BR&gt;logfile=expdp_NON_LOB_PROD.log&lt;BR&gt;parallel=10&lt;BR&gt;tables=.......&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;The tables parameter had about 40 tables listed as example:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;ecom.customer, ecom.account, ecom.address etc......&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;My impdp parameter file was :&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;userid="/ as sysdba"&lt;BR&gt;directory=special_export&lt;BR&gt;schemas=ecom&lt;BR&gt;dumpfile=expdp_NON_LOB_PROD_062309_%U.dmp&lt;BR&gt;logfile=impdp_NON_LOB_PROD.log&lt;BR&gt;parallel=10&lt;BR&gt;remap_schema=ecom:ecom&lt;BR&gt;TABLE_EXISTS_ACTION=REPLACE&lt;BR&gt;CONTENT=ALL&lt;/FONT&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;When i used this impdp parameter file, i kept getting that error :&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113333&gt;Import: Release 10.2.0.4.0 - 64bit Production on Tuesday, 23 June, 2009 11:27:16&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Copyright (c) 2003, 2007, Oracle.  All rights reserved.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production&lt;BR&gt;With the Partitioning, Data Mining and Real Application Testing options&lt;BR&gt;ORA-31655: no data or metadata objects selected for job&lt;BR&gt;ORA-39039: Schema expression "IN (SELECT object_name FROM "SYS"."SYS_IMPORT_SCHEMA_01" WHERE process_order = -56 AND duplicate BETWEEN 1 AND 1)" contains no valid schemas.&lt;BR&gt;Master table "SYS"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded&lt;BR&gt;Starting "SYS"."SYS_IMPORT_SCHEMA_01":  parfile=test.par&lt;BR&gt;Processing object type TABLE_EXPORT/TABLE/TABLE_DATA&lt;BR&gt;Job "SYS"."SYS_IMPORT_SCHEMA_01" successfully completed at 11:27:20&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#113333&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;This was very frustrating and all the help online couldn't fix it . .. because all i wanted to do was import just the tables... and all of them not specific ones.   So i tried a few things manually and here is the fix :&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;In the impdp parfile add this to the bottom:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;FONT color=#113333&gt;&lt;STRONG&gt;INCLUDE=TABLE&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;This will include all the tables in the exported dump files and the error message went away.   Basically what you have to do is to make sure you put in any of the following:  INCLUDE, EXCLUDE, CONTENT etc.. .  otherwise it'll throw that error message.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Hope this helps.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#3333dd&gt;Thanks,&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;</description><pubDate>Tue, 23 Jun 2009 12:09:11 GMT</pubDate><dc:creator>Admin</dc:creator></item></channel></rss>