您的位置:首页 > 数据库 > Oracle

oracle 创建表空间和用户

2013-07-09 12:51 288 查看
创建表空间:

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

2.创建表空间:create tablespace EVAL2 logging datafile 'D:\oracle\product\10.2.0\oradata\orcl\EVAL2.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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: