Oracle12C查詢自建使用者(非系統自帶)

sjw1933發表於2020-09-04

select username from dba_users where INHERITED='NO';

 或者

SELECT username,account_status from dba_users where account_status = 'OPEN' and username not like '%SYS%' and username not like 'C##%' and username not like 'PDBADMIN' and username not like 'DBSNMP';


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23825935/viewspace-2717273/,如需轉載,請註明出處,否則將追究法律責任。

相關文章