DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: import

  1. #1
    Join Date
    Aug 2001
    Posts
    15
    how can i import a database..
    if I don't want to use oracle management server..
    I am using oracel 8.1.7 on W2000 professional edition..
    is there is a way to import the database from command line...
    can anybody give me steps for that.
    thanks
    ..ash

  2. #2
    Join Date
    Mar 2001
    Posts
    635
    Hi Ash

    Follow these steps

    1) Goto command prompt

    2) execute the following command

    c:\> exp system/password@connectstring file=full.dmp log=full.log full=y consistent=y compress=y

    The above command will create a binary dump of the full database

    If you need to look at option available with exp you can do the following

    1) Goto command prompt

    2) Type the following

    c:\> exp -help

    If you still have any doubt let me know

    Regards
    Santosh

  3. #3
    Join Date
    May 2001
    Location
    San Francisco, California
    Posts
    511
    For import, follow the same guidelines santoshym mentioned. You need a .dmp file from a database export. The basic command is:

    imp user/pass@sid file=exp.dmp log=imp.log

    Other most used parameters are:

    commit=y will commit after each table

    full=y will import the full export
    or
    fromuser= schema owner in the export file
    touser=schema owner created in your for database for import

    you can import selected tables too. rows= Y or N will or will not import the table data.

    [Edited by kris109 on 08-15-2001 at 06:43 PM]

  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Jeff Hunter

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