can we do import like
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: can we do import like

  1. #1
    Join Date
    Apr 2009
    Posts
    48

    can we do import like

    Hi all,

    i have yesterday export of full database 9i , but our one of user wants the only particular table (data as well as strcuture of table) as it was yesterday . my question is can i do import of particular table from full exported database file. quick response will be higly appreciated. thanks in advance


    Best Regards

  2. #2
    Join Date
    Oct 2008
    Posts
    69
    Yes you can import just one table (or selection of tables) from the full export.

    Example taken from quick google importing tables dept and emp from the SCOTT schema

    imp SYSTEM/password FIlE=dba.dmp FROMUSER=scott TABLES=(dept,emp)

  3. #3
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,554
    Yes.
    You can do a fromuser/touser import specifyng desired tables.
    Be sure target table is empty.
    Be sure to include parameter ignore=y
    You may also want to check if there are referential integrity constraints affecting target table
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width