oracle导入库的过程

在cmd中:mstsc.exe是远程。之后输入对方的ip
在数据库中的user中收到填写完之后,查看到sql:
-- Create the user
create user FTYTH1130
  identified by ""
  default tablespace FTYTH
  temporary tablespace TEMP
  profile DEFAULT
  password expire;
-- Grant/Revoke role privileges
grant connect to FTYTH1130;
grant dba to FTYTH1130;
grant resource to FTYTH1130;
-- Grant/Revoke system privileges
grant unlimited tablespace to FTYTH1130;

1.导入时候的cmd语句:imp userid=用户名/密码@orcl file=... full=y

2.导出时候的cmd语句:

---把ftyth1229库的数据导出,导出的文件名是ftyth1230
exp ftyth1229/[email protected]/orcl file=d:\ftyth1230.dmp  

猜你喜欢

转载自1601844782.iteye.com/blog/2267224
今日推荐