Oracle数据库导入导出数据

xiaoxiao2026-08-23  8

这里主要介绍Oracle中用命令行做数据的导入和导出操作: 1.一般使用的导入导出命令: Exp username/password@orcl file=导出文件放置的路径 full=n; Imp username/password@orcl file=导入的文件放置的路径 full=n ignore=y fromuser= .dmp文件来自与哪个用户; 其中的orcl是服务名,但是需要注意:在pl/sql中是服务名,而在sql developer中则是net manager 中配置的服务命名; 2.导入导出某些表的命令: Exp username/password@orcl file=导出文件放置的路径 full=n tables=(user,org); Imp username/password@orcl file=导入的文件放置的路径 full=n ignore=y fromuser= .dmp文件来自与哪个用户 tables=(user,org); 其中的ignore表示如果插入时已经存在某些表的话,则不进行导入
转载请注明原文地址: https://www.6miu.com/read-5051741.html

最新回复(0)