Oracle数据库导入操作.docVIP

  • 4
  • 0
  • 约1.16千字
  • 约 3页
  • 2018-03-07 发布于河南
  • 举报
Oracle数据库导入操作

导出数据库 数据库全部导出 开始—运行---cmd Exp 用户名/密码@数据库名 file=导出位置(d:\daochu.dmp 导出数据库中的用户 exp 用户名/密码@数据库名 fiel=导出位置(d:\daochu.dmp owner=(用户,用户)) 导出数据库中的表 exp 用户名/密码@数据库名 fiel=导出位置(d:\daochu.dmp tables=(表名,表名)) 导入数据库 开始——运行——sqlplusw: 用system/manager登录: 主机字符串就是创建的数据库名字 在里面分别执行: Create tablespace ts2 datafile ‘d:\ts02.dbf’ size 200M; Create tablespace ts4 datafile ‘d:\ts04.dbf’ size 200M; Create user hello318 identified by hello318 default tablespace ts2 temporary tablespace temp; //Create user dl identified by tckl2010 default tablespace ts2 temporary tablespace temp; Grant connect,resource,dba to hello318;

文档评论(0)

1亿VIP精品文档

相关文档