In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
First, grant permission GRANT privilege [,...] ON object [,...] TO {PUBLIC | GROUP group | username} II. Revoke permission REVOKE | [()] [ON]
FROM |
[CASCADE CONSTRAINTS]
Note: if a user obtains a permission through the WITH GRANT OPTION clause, the user can also use the WITH GRANT OPTION clause to grant other user rights, which may result in a long list of grantees, but permissions are not allowed to be granted recursively. If the owner revokes a permission from a user who grants it to another user, the revocation is cascaded to all granted permissions.
For WITH ADMIN OPTION system permissions, parent permissions are reclaimed, and child permissions are not cascaded.
For object permissions of WITH GRANT OPTION, parent permissions are reclaimed, and child permissions are cascaded.
3. View USER creation information SELECT A.USERNAME
A.DEFAULT_TABLESPACE
A.TEMPORARY_TABLESPACE
TO_CHAR (A.CREATED, 'yyyy-mm-dd hh34:mi:ss')
A.PROFILE
FROM DBA_USERS A
WHERE USERNAME =''
SELECT * FROM DBA_TS_QUOTAS A; IV. View user status information SELECT A.USERNAME
A.ACCOUNT_STATUS
TO_CHAR (A.LOCK_DATE, 'yyyy-mm-dd hh34:mi:ss')
TO_CHAR (A.EXPIRY_DATE, 'yyyy-mm-dd hh34:mi:ss')
FROM DBA_USERS A; 5. View profile content SELECT * FROM DBA_PROFILES WHERE PROFILE = 'PF_EAGLE'; 6. Get the user creation statement SELECT DBMS_METADATA.GET_DDL (' USER', 'SCOTT').
FROM DUAL
UNION ALL
SELECT DBMS_METADATA.GET_GRANTED_DDL ('SYSTEM_GRANT',' SCOTT')
FROM DUAL
UNION ALL
SELECT DBMS_METADATA.GET_GRANTED_DDL ('OBJECT_GRANT',' SCOTT')
FROM DUAL
UNION ALL
SELECT DBMS_METADATA.GET_GRANTED_DDL ('ROLE_GRANT',' SCOTT')
FROM DUAL
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.