ITPub博客

首页 > IT基础架构 > 网络安全 > Connecting with Administrative Privileges: Example (33)

Connecting with Administrative Privileges: Example (33)

原创 网络安全 作者:tsinglee 时间:2007-12-18 15:09:24 0 删除 编辑

This example illustrates that a user is assigned another schema (SYS) when connecting
with the SYSDBA system privilege. Assume that the sample user oe has been granted
the SYSDBA system privilege and has issued the following statements:

CONNECT oe/oe

CREATE TABLE admin_test(name VARCHAR2(20));

Later, user oe issues these statements:

CONNECT oe/oe AS SYSDBA

SELECT * FROM admin_test;

User oe now receives the following error:
ORA-00942: table or view does not exist

Having connected as SYSDBA, user oe now references the SYS schema, but the table
was created in the oe schema.

以系统管理权限登录实例

某用户拥有sysdba权限 , 当使用conn username/password as sysdba后 , 此时的方案对象为sys

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10599713/viewspace-994745/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    740
  • 访问量
    2002850