oracle如何根据表来导入导出数据

阅读更多
导出:

exp user/password@schema rows=y indexes=n triggers=n constraints=n grants=n buffer=640000 file=YourTableName.dmp tables=(YourTableName);


导入:
imp userpassword@schema fromuser=user touser=user ignore=y commit=y buffer=640000 file=YourTableName.dmp tables=(YourTableName);



导出整个用户:
exp user/password@schema owner=(user); file=schema.dmp


导入整个用户:
imp user/password@schema file=schema.dmp fromuser=user_old touser=user_new rows=y indexex=y;

你可能感兴趣的:(Oracle,Java)