SQL> connect /as sysdba
已连接。
SQL> grant select on hr.employees to scott;
grant select on hr.employees to scott
                   *
ERROR 位于第 1 行:
ORA-01031: 权限不足这怎么可能呢?SQL> show parameter db_block_size;NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_block_size                        integer     4096应该是8192吧,怎么是4096,而且这个参数好象是不能够修改的。
SQL> select * from v$version ;BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
PL/SQL Release 9.0.1.1.1 - Production
CORE    9.0.1.1.1       Production
TNS for 32-bit Windows: Version 9.0.1.1.0 - Production
NLSRTL Version 9.0.1.1.1 - Production

解决方案 »

  1.   

    SQL> connect /as sysdba
    已连接。
    SQL> grant select on hr.employees to scott;
    grant select on hr.employees to scott
                       *
    ERROR 位于第 1 行:
    ORA-01031: 权限不足
    -------------
    重新登陆一下再执行同样的操作试试
      

  2.   

    就我知道,oracle在9.1以后sys用户的权限才可以将其它用户的对象权限授予其它用户,而在9.0以前的版本不支持这样的授权
      

  3.   

    SQL> grant select on hr.employees to scott;
    grant select on hr.employees to scott
                       *
    ERROR 位于第 1 行:
    ORA-01031: 权限不足还是不行
    但是
    SQL> connect /as sysdba
    已连接。
    SQL> create user tom identified by tiger ;用户已创建SQL> grant create session to tom;授权成功。SQL> grant sysdba to tom ;却可以
    --------------------------------------------------------------------
    SQL> connect /as sysdba
    已连接。
    SQL> create user tom identified by tiger ;用户已创建SQL> grant create session to tom;授权成功。SQL> grant sysdba to tom ;
    sql>connect tom/tiger;
    sql>show parameter remote;表或视图不存在
    tom不是已经是sysdba了么,为什么还不行呢?SQL> connect tom/tiger as sysdba
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- -----------
    remote_archive_enable                string      true
    remote_dependencies_mode             string      TIMESTAMP
    remote_listener                      string
    remote_login_passwordfile            string      EXCLUSIVE
    remote_os_authent                    boolean     FALSE
    remote_os_roles                      boolean     FALSE
      

  4.   

    db_block_size在数据库建立好之后,不可以修改的,只能重建库
      

  5.   

    楼主没有搞清楚user跟Schema的慨念
      

  6.   

    最后格式化系统后重新安装操作系统和Oracle9i。