1.在DOS窗口中导出Oracle数据。
[size=large][color=green]exp username/password@database statistics=none file=d:/datafilename.dmp[/color][/size]
例如:
[size=large][color=green]exp crm110/110@orcl statistics=none file=d:/crm110.dmp[/color][/size]
2.在DOS窗口中导入Oracle数据。
[size=large][color=green]imp username/password@database full=y file=d:/datafilename.dmp[/color][/size]
例如:
[size=large][color=green]imp crm110/110@orcl full=y file=d:/crm110.dmp[/color][/size]
[size=large][color=green]exp username/password@database statistics=none file=d:/datafilename.dmp[/color][/size]
例如:
[size=large][color=green]exp crm110/110@orcl statistics=none file=d:/crm110.dmp[/color][/size]
2.在DOS窗口中导入Oracle数据。
[size=large][color=green]imp username/password@database full=y file=d:/datafilename.dmp[/color][/size]
例如:
[size=large][color=green]imp crm110/110@orcl full=y file=d:/crm110.dmp[/color][/size]
本文介绍了如何使用DOS命令行工具在Oracle数据库中进行数据的导出与导入操作。导出命令使用exp命令,参数包括用户名、密码、数据库名称、文件路径等;导入则使用imp命令,并同样指定相应的参数。
1743

被折叠的 条评论
为什么被折叠?



