📜  oracle 权限用户 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:52.700000             🧑  作者: Mango

代码示例2
SELECT USERNAME,
       LOCK_DATE,
       EXPIRY_DATE
FROM DBA_USERS
WHERE USERNAME IN (SELECT GRANTEE
                   FROM DBA_SYS_PRIVS
                   WHERE PRIVILEGE = 'UNLIMITED TABLESPACE')
ORDER BY USERNAME;