impdp system/system@ORCL directory=DATA_PUMP_DIR dumpfile=20141218.dmp remap_schema=HA_WXZJ:ha_wxzj remap_tablespace=ha_wxzj_data:users
从一个用户导入到另一个用户,如果表空间不一样,还要加标红部分
HA_WXZJ 是导出用户的数据 ha_wxzj 是导入用户的数据
ha_wxzj_data 导出用户表空间 users 导入用户表空间
imp 导入时 要先drop 掉原来的 再imp
impdp 时 用 table_exists_action=replace 表示表存就删除,再创建
还有skip 跳过
append 追加
truncate 先 truncate 然后 再插入数据
修改登录密码不区分大小写
ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE; --不区分大小写 为TRUE则是区分大小写