oracle 创建表空间和用户

创建表空间:

1.点击开始--》选择oracle-oracle10g_home1-->应用程序开发-->SQL Plus,输入相应的用户名和密码,主机号指的是用户对应的SID(例如ORCL)

2.创建表空间:create tablespace EVAL2 logging datafile 'D:oracleproduct10.2.0oradataorclEVAL2.DBF' 

      size 50M

      autoextend on

      next 50M maxsize 2048M

      extent management local;

3.创建用户:create user EVAL2 identified by aaaaaa default tablespace EVAL2;

4.用户授权:grant connect,resource,dba to EVAL2

5.导入文件:imp EVAL2/aaaaaa@ORCL file=d:hhi.dmf  full=y

原文地址:https://www.cnblogs.com/yurujun/p/3179645.html