Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- port
- lsof
- 줄바꿈 문자
- vscode
- Windows
- tomcat
- IntelliJ
- xargs
- context
- Source
- plugin
- ssh
- 네트워크
- netsh
- web.xml
- import
- VirtualBox
- bash
- profile
- find
- Mac
- GIT
- maVen
- Windows 10
- grep
- Eclipse
- JavaScript
- resource
- 단축키
- Quartz
Archives
- Today
- Total
develog
[Oracle] Privileges 본문
SELECT * FROM DBA_TAB_PRIVS;
SELECT OWNER, TABLE_NAME, GRANTOR, GRANTEE, PRIVILEGE, GRANTABLE, HIERARCHY
FROM USER_TAB_PRIVS
WHERE OWNER = 'SCOTT'
AND INSTR(TABLE_NAME, '$') = 0
ORDER BY OWNER, TABLE_NAME, GRANTOR, GRANTEE, PRIVILEGE
;
SELECT *
FROM ALL_OBJECTS
WHERE 1=1
AND INSTR(OBJECT_NAME, 'USER') > 0
AND INSTR(OBJECT_NAME, 'PRIVS') > 0
ORDER BY OBJECT_NAME
;
USER_AQ_AGENT_PRIVS
USER_COL_PRIVS
USER_COL_PRIVS_MADE
USER_COL_PRIVS_RECD
USER_ROLE_PRIVS
USER_RSRC_CONSUMER_GROUP_PRIVS
USER_RSRC_MANAGER_SYSTEM_PRIVS
USER_SYS_PRIVS
USER_TAB_PRIVS
USER_TAB_PRIVS_MADE
USER_TAB_PRIVS_RECD
USER_WM_PRIVS
USER_WORKSPACE_PRIVS
http://docs.oracle.com/cd/E11882_01/timesten.112/e21642/privileges.htm
'DB > Oracle' 카테고리의 다른 글
[Oracle] exists (0) | 2014.11.11 |
---|---|
[Oracle] 컬럼 값이 숫자인지 확인, translate (0) | 2014.10.01 |
[Oracle] RAISE_APPLICATION_ERROR (0) | 2014.09.01 |
[Oracle] index 컬럼 찾기 (0) | 2014.08.18 |
인덱스 재생성 (0) | 2014.06.17 |
Comments