标签:count 结构 number 方案 alter 模式 from date des
1、grant create session to t2;
2、conn t3/t2;
3、conn t1/t1;
4、conn t2/t2;
5、grant create table to t3;
6、revoke from
7、grant to
角色 role
系统
对象
8、DML:删改查增 数据操作
DDL:数据定义
9、grant create table to t2 with admin option;
10、grant create table to t3;
11、
dba ---> t1
admin option
t1 ---> t2
没有admin
dba ---> t1 ---> t2 ---> t3
adm adm
dba
revoke create table from t1;
conn t2/t2;
create table tttt(id number(10));
系统权限给出去就收不回了;
select table_name from user_tables;
drop table tt;
drop table t;
conn / as sysdba;
alter user t3 identified by t3;
conn / as sysdba;
show user;
desc test;
insert into test values (sysdate(), ‘AAAA’);
select * from test;
select * from sys.test;
grant select on test to t1;
select * from sys.test;
grant select on test to t2;
revoke select on test from t1;
grant select on test to t1 with grant option;
grant select on test to t2;
grant select on sys.test to t2;
select * from sys.test;
grant select on test to t2;
grant select on sys.test to t2;
revoke select on test from t1;
grant select on test to t1 with grant option;
--------------------------------------------------------
一组权限的组合 Roles
select table_name from dict where table_name like ‘%PRIV%‘;
desc USER_SYS_PRIVS;
select username from USER_SYS_PRIVS;
select unique(username) from USER_SYS_PRIVS;
select count(1) from USER_SYS_PRIVS;
grant connect, resource to t1;
select table_name from dict where table_name like ‘%PROFILE%‘;
select resource_name, limit from dba_profiles;
userprofile;
Schema
方案
结构
模式
纲要
用户对象的集合---Schema
标签:count 结构 number 方案 alter 模式 from date des
原文地址:https://www.cnblogs.com/niaocaizhou/p/10778137.html