exp user/pw tables=(tbname) file=tb.dmpimp user/pw file=tb.dmp

解决方案 »

  1.   

    建立一个database link,通过create table aaa as select * from aaa@db_link,
    或者用copy 命令
      

  2.   

    copy的用法:
    usage: COPY FROM <db> TO <db> <opt> <table> { (<cols>) } USING <sel>
      <db>   : database string, e.g., scott/tiger@d:chicago-mktg
      <opt>  : ONE of the keywords: APPEND, CREATE, INSERT or REPLACE
      <table>: name of the destination table
      <cols> : a comma-separated list of destination column aliases
      <sel>  : any valid SQL SELECT statement
    A missing FROM or TO clause uses the current SQL*Plus connection.
      

  3.   

    首先,泥必须做过数据库的备份文件,如:a.dmp然后才可以:
    imp test/test@servername fromuser=scott tables=yourtable file=a.dmp
      

  4.   

    我简直要自杀了,怎么才能运行EXP/IMP命令,在sql_plus中不能运行Exp/IMp命令!
      

  5.   

    cmd进入命令行模式
    不是在sqlplus下!!!
      

  6.   

    1.在PB中连接database1,打开表,保存为A.TXT文件
    2.在PB中连接database2,打开表,倒入A.TXT文件
      

  7.   

    在sql*plus里面运行时,需要在执行命令前面加上host 
    如:
    14:15:46 SQL> host exp user/pw full=y file=fulldb.dmp