Users Privilege :-
sql>create user azar idenitified by azar;
or
sql>create user azar idenitified by azar default tablespace
sql>grant create session,create table to azar;
or
sql>Grant connect,resource to azar;
sql>show user;
azar
sql>alter user azar account lock;
sql>alter user azar account unlock;
Password Change
sql>alter user azar identified by
sql>drop user azar cascade;
System Privilege
sql>Grant create any table to azar;
Revoke Privilege
sql>revoke create any table from azar;
View :- dba_sys_privs
sql>select * from dba_sys_privs where grantee= 'username';
Object Privilege :
sql>Grant select,update,insert,delete on
sql>Revoke select,update,insert,delete on
View :- dba_tab_privs
sql>grant dba to azar;
sql>revoke dba from azar;
sql>select * from dba_role_privs where grantee ='dba';
sql>select role from session_roles;
Getting IP Address of DB Server
1 day ago
0 comments:
Post a Comment