Oracle column Licensing related tests

Source: Internet
Author: User

Create tablespace liangtbs datafile '/home/oradata/lgjdb/liangtbs01.dbf ' size 50m autoextend on;create tablespace Testtbs datafile '/home/oradata/lgjdb/testtbs01.dbf ' size 50m autoextend on;

CREATE USER Junuser identified by "Oracle"
DEFAULT tablespace Liangtbs
Temporary tablespace TEMP;

CREATE TABLE T_test (ID number,table_name varchar2 (50),
Owner VARCHAR2 (+), Tablespace_name varchar2 (50));

INSERT into t_test values (1, ' table_name ', ' guouser ', ' tablespace_name ');

Col ID for 99999999
Col table_name for A20
Col owner for A20
Col Tablespace_name for A20


#如下授权是错误的, you cannot recycle a column
Revoke UPDATE (OWNER) on Lianguser. T_test from Lianguser;

Grant create session to Junuser;
Grant CREATE TABLE to Junuser;
GRANT RESOURCE to Junuser;
Grant Select any table to Junuser;
ALTER USER junuser QUOTA UNLIMITED on Liangtbs;

Grant Select,insert,update,delete,alter,index on Guouser. T_test to Junuser;

Grant UPDATE on Guouser. T_test to Junuser;
Revoke UPDATE on Guouser. T_test from Junuser;

Grant UPDATE (Table_name,tablespace_name) on Guouser. T_test to Junuser;


Conclusion: For the owner of the table, it is not possible to reclaim its update permissions,
For example, Guouser.t_test table, cannot reclaim revoke UPDATE on Guouser. T_test from Guouser;

Oracle column Licensing related tests

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.