sys sysdba用户 最大权限
system dba用户
scott 拥有connect,resource权限 测试用户

解决方案 »

  1.   

    例如:
    connect system/manager
    grant dba to scott; //赋权限
    revoke dba from scott;//收回权限
      

  2.   

    这些操作是在SQLPLUS中进行的吗。
      

  3.   

    我在运行里执行CMD后,再执行
    connect system/manager
    grant dba to scott; //赋权限
    revoke dba from scott;//收回权限这些内容却不行啊。
      

  4.   

    connect system/manager
    grant dba to scott; //赋权限
    revoke dba from scott;//收回权限这些语句是sqlplus执行的.如果在cmd中的话:
    sqlplus system/manager@XXXdb
    然后再执行
    connect system/manager
    grant dba to scott; //赋权限
    revoke dba from scott;//收回权限
    exit; //退出sqlplus
      

  5.   

    错了
    连上数据库后不需要再"connect system/manager"
    .....
    然后再执行
    grant dba to scott; //赋权限
    revoke dba from scott;//收回权限
    exit; //退出sqlplus