本帖最后由 iakari20100820 于 2010-09-27 23:24:50 编辑

解决方案 »

  1.   

    C:\Documents and Settings\hong>sqlplus hr/hrSQL*Plus: Release 10.2.0.1.0 - Production on 星期一 9月 27 23:31:04 2010Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    连接到:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsSQL> create tablespace abc datafile 'E:\oracle\ubackup\abc.dbf' size 20M;
    create tablespace abc datafile 'E:\oracle\ubackup\abc.dbf' size 20M
    *
    第 1 行出现错误:
    ORA-01031: 权限不足
    SQL> conn / as sysdba
    已连接。
    SQL> grant create tablespace to hr;授权成功。SQL> conn hr/hr;
    已连接。
    SQL> create tablespace abc datafile 'E:\oracle\ubackup\abc.dbf' size 20M;表空间已创建。SQL> create table tt(id number) default tablespace abc;
    create table tt(id number) default tablespace abc
                               *
    第 1 行出现错误:
    ORA-00922: 选项缺失或无效
    SQL> create table tt(id number) tablespace abc;表已创建。SQL>