Session_privs [message #563305] |
Sun, 12 August 2012 03:43 |
|
thiyagusham
Messages: 112 Registered: April 2012 Location: Chennai
|
Senior Member |
|
|
Hello to everyone
I have little doubt with session_privs;
SQL> conn sam
Enter password:
Connected.
SQL> select * from session_privs;
PRIVILEGE
----------------------------------------
CREATE SESSION
UNLIMITED TABLESPACE
CREATE TABLE
BACKUP ANY TABLE
SELECT ANY TABLE
CREATE CLUSTER
CREATE SEQUENCE
SELECT ANY SEQUENCE
CREATE PROCEDURE
EXECUTE ANY PROCEDURE
CREATE TRIGGER
CREATE TYPE
EXECUTE ANY TYPE
CREATE OPERATOR
CREATE INDEXTYPE
ADMINISTER RESOURCE MANAGER
RESUMABLE
READ ANY FILE GROUP
18 rows selected.
SQL> show user;
USER is "SAM"
=========================================================================================================
SQL> conn /as sysdba
connected.
SQL> SELECT * FROM dba_sys_privs WHERE privilege = 'UNLIMITED TABLESPACE';
GRANTEE PRIVILEGE ADM
------------------------------ ---------------------------------------- ---
Udaya UNLIMITED TABLESPACE NO
OUTLN UNLIMITED TABLESPACE NO
DBSNMP UNLIMITED TABLESPACE NO
T1 UNLIMITED TABLESPACE NO
SYSTEM UNLIMITED TABLESPACE YES
SAM UNLIMITED TABLESPACE NO --> SAM
U2 UNLIMITED TABLESPACE NO
TSMSYS UNLIMITED TABLESPACE NO
X UNLIMITED TABLESPACE NO
SAN UNLIMITED TABLESPACE NO
SAMS UNLIMITED TABLESPACE NO
11 rows selected.
I checked from sam user I have unlimited tablespace privilege.
As from sys user here sam user doesn't have unlimited tablespace.
please clarify.
Thanks
thiyagusham. G
[EDITED by LF: fixed [code] tags]
[Updated on: Sun, 12 August 2012 04:16] by Moderator Report message to a moderator
|
|
|
|
|
|