建立TEST用户的语句create user test identified by test  default tablespace test  temporary tablespace temp ;grant dba, connect, resource, create table to test ;

解决方案 »

  1.   

    CREATE USER username IDENTIFIED BY password
      Or IDENTIFIED EXETERNALLY
      Or IDENTIFIED GLOBALLY AS ‘CN=user’
    [DEAFULT TABLESPACE tablespace ]
    [TEMPORARY TABLESPACE tablespace]
    [QUOTA [integer K[M]][UNLIMITED] ON tablespace 
    [,QUOTA [integer K[M]][UNLIMITED] ON tablespace
    [PROFILES profile_name]
    [PASSWORD EXPIRE]
    [ACCOUNT LOCK or ACCOUNT UNLOCK]
    CREATE USER username 用户名
    IDENTIFIED BY password  用户口令
    IDENTIFIED BY EXETERNALLY 用户名在操作系统下验证,这个用户名必须与操作
                            系统中所 定义的用户相同。
    IDENTIFIED GLOBALLY AS ‘CN=user’ 用户名是ORACLE 安全域中心服务器来验证
                                     ,CN 名字标识用户的外部名。
    [DEAFULT TABLESPACE tablespace ]  缺省的表空间
    [TEMPORARY TABLESPACE tablespace] 缺省的临时表空间
    [QUOTA [integer K[M]][UNLIMITED] ON tablespace 允许使用k[m]字节
    [,QUOTA [integer K[M]][UNLIMITED] ON tablespace 
    [PROFILES profile_name]  资源文件的名字
    [PASSWORD EXPIRE]        立即将口令设成过期状态,用户在登录进入前必须
                             修改口令。
    [ACCOUNT LOCK or ACCOUNT UNLOCK]  用户不被加锁。