<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Import Users tables in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816550#M780628</link>
    <description>Pat,&lt;BR /&gt;&lt;BR /&gt;For future reference, Oracle forums:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.oracle.com/forums/category.jspa?categoryID=18" target="_blank"&gt;http://forums.oracle.com/forums/category.jspa?categoryID=18&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
    <pubDate>Mon, 03 Jul 2006 14:35:00 GMT</pubDate>
    <dc:creator>spex</dc:creator>
    <dc:date>2006-07-03T14:35:00Z</dc:date>
    <item>
      <title>Import Users tables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816548#M780626</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you please confirm that for example if I wanted to import from a recent export of the database just all table's from user scott the following command will acheive this.&lt;BR /&gt;&lt;BR /&gt;imp scott/tiger@orcl file=orcl.dump FROMUSER=scott TOUSER=scott GRANTS=Y INDEXES=Y ROWS=Y COMMIT=Y CONSTRAINTS=Y DESTROY=Y SKIP_UNUSABLE_INDEXES=Y ANALYZE=Y &lt;BR /&gt;&lt;BR /&gt;Will this recover all tables only for this user ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pat</description>
      <pubDate>Mon, 03 Jul 2006 11:40:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816548#M780626</guid>
      <dc:creator>phillipsp_acca</dc:creator>
      <dc:date>2006-07-03T11:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import Users tables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816549#M780627</link>
      <description>Hi Pat,&lt;BR /&gt;&lt;BR /&gt;Please check this page for 'imp' syntax (from Oracle 8i, newer versions similar):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/ch02.htm#22250" target="_blank"&gt;http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/ch02.htm#22250&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Short answer: it depends.  The safest way to  import is into an empty schema.  If tables already exist in the 'SCOTT' schema, your import will report an error for each duplicate table, as 'imp' will not overwrite an existing object.  However, depending on what you're trying to accomplish, you might be okay with this behavior.&lt;BR /&gt;&lt;BR /&gt;Here's a more streamlined version with parameters set to default values removed:&lt;BR /&gt;&lt;BR /&gt;imp scott/tiger@orcl file=orcl.dump FROMUSER=scott TOUSER=scott COMMIT=Y DESTROY=Y SKIP_UNUSABLE_INDEXES=Y;&lt;BR /&gt;&lt;BR /&gt;I would consult that web page I mentioned and make sure you really want "DESTROY=Y", which reuses existing datafiles.&lt;BR /&gt;&lt;BR /&gt;If you want to limit the import just to tables and associated objects, you could do a table-mode import ("TABLES=*"):&lt;BR /&gt;&lt;BR /&gt;imp scott/tiger@orcl file=orcl.dump FROMUSER=scott TOUSER=scott TABLES=* COMMIT=Y;&lt;BR /&gt;&lt;BR /&gt;It's probably a good idea to preview the import with "SHOW=Y" before doing it for real.  Also consider using a parameter file instead of specifying individual parameters on the command line ("PARFILE=xxx").&lt;BR /&gt;&lt;BR /&gt;And don't forget "nohup imp ... &amp;amp;" will run 'imp' in the background with hangups/quits ignored.&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Mon, 03 Jul 2006 13:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816549#M780627</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-07-03T13:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Import Users tables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816550#M780628</link>
      <description>Pat,&lt;BR /&gt;&lt;BR /&gt;For future reference, Oracle forums:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.oracle.com/forums/category.jspa?categoryID=18" target="_blank"&gt;http://forums.oracle.com/forums/category.jspa?categoryID=18&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Mon, 03 Jul 2006 14:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816550#M780628</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-07-03T14:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Import Users tables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816551#M780629</link>
      <description>Thanks for the help.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Jul 2006 05:35:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/import-users-tables/m-p/3816551#M780629</guid>
      <dc:creator>phillipsp_acca</dc:creator>
      <dc:date>2006-07-04T05:35:16Z</dc:date>
    </item>
  </channel>
</rss>

