先建立表空间,然后建立用户。
create table tablespace_name datafile '/oradata/a.dat' size 500m;create user user_name identified by user_name user_name   default tablespace tablespace_name   temporary tablespace temp ;
grant dba, connect, resource, create table to user_name  ;

解决方案 »

  1.   

    先建表空间吧,再建用户,你没用过EMC么?界面化还算是不错,可以选项选择的,自动生成语句,看看就知道了,关于create TABLESPACE的,很多书上都有,看看书就知道了,如果不会建的话就用默认吧。
      

  2.   

    -- Create the user 
    create user TESTUSER
      identified by ""
      default tablespace USERS
      temporary tablespace TEMP
      profile DEFAULT;
    -- Grant/Revoke role privileges 
    grant connect to TESTUSER with admin option;
    grant dba to TESTUSER with admin option;
    grant resource to TESTUSER with admin option;
    -- Grant/Revoke system privileges 
    grant unlimited tablespace to TESTUSER with admin option;