测试信息
管理员:system
用户名:scott
统一密码:123
表:dept,emp,user
保存的文件位置:D:/DB
表方式导出
$ exp scott/123 file=D:/DB/demo.dmp log=D:/DB/demo.log tables=dept,emp
用户方式导出
实际就是不指定表默认全部导出
$ exp scott/123 file=D:/DB/demo.dmp log=D:/DB/demo.log
全库方式导出
全库导出需要管理员才能操作
$ exp system/123 file=D:/DB/demo.dmp log=D:/DB/demo.log full=y
full=y 表示要执行所有数据库的导出
提示模式导出
根据提示填就好
$ exp scott/123