包括表,索引,函数,存储过程等;最好不要带系统表函数的脚本

解决方案 »

  1.   

    一、创建逻辑目录,该命令不会在操作系统创建真正的目录,最好以system等管理员创建。
    create directory dpdata1 as 'd:\test\dump';二、查看管理理员目录(同时查看操作系统是否存在,因为Oracle并不关心该目录是否存在,如果不存在,则出错)
    select * from dba_directories;三、给scott用户赋予在指定目录的操作权限,最好以system等管理员赋予。
    grant read,write on directory dpdata1 to scott;四、导出数据
    1)按用户导
    expdp scott/tiger@orcl schemas=scott dumpfile=expdp.dmp DIRECTORY=dpdata1;
      

  2.   

    plsqldev工具有导数据库对象的。