1.应该
select * from dba_tables where tablespace_name='A';
2.你imp时输入的命令是怎样的?

解决方案 »

  1.   

    select table_name from dba_tables where tablespace_name='表空间名';
    就可以查看所有在表空间名的表名。
      

  2.   

    我用 select * from dba_tables where tablespace_name='A',结果说no rows selected,好像是数据库没能导进去。我imp时候用的命令是:
    imp B/PWD log=A_imp.log file=/***/A.dmp,FROMUSER=B IGNORE=y,是不是我的用户名有问题,要用导出的时候的用户名?
      

  3.   

    嗯,好像是这个问题,fromuser应该用导出时候的用户名。但是我改了用户名后重新导入的时候报错说
    IMP-00003:ORACLE error 942 encountered 
    ORA-00942: table or view does not exist
    IMP-00017: following statement failed with ORACLE error 942; 
    怎么回事呢?
      

  4.   

    imp system/password ... fromuser=A touser=B
      

  5.   

    那个system/password 具体是什么呢?
      

  6.   

    好了,但还是那个942错误.
    IMP-00003:ORACLE error 942 encountered 
    ORA-00942: table or view does not exist
    IMP-00017: following statement failed with ORACLE error 942;