导入导出表以及表数据

    技术2022-05-20  52

    一、开始进入运行 cmd 命令

    导出:

    所有表 exp system/password@实例名 owner=用户名 file=D:/自定义.dmp( 临时存放)

    指定表 exp system/password@实例名 owner=用户名 tables=tbl1,tbl2,..... file=D:/自定义.dmp( 临时存放)

     

    导入:

    表结构,数据 imp system/password@实例名 fromuser=原用户名 touser=目标用户名 file=D:/自定义.dmp

    表结构 imp system/password@实例名 fromuser=原用户名 touser=目标用户名 rows=n/y file=D:/自定义.dmp

     

     

     


    最新回复(0)