-- View All sequences selectSEQUENCE_OWNER and sequence username of the current user; -- query the total number of sequences of the current user, selectcount (*) fromdba_sequenceswheresequence_owner username; -- Example: selectSEQUENCE_OWNER
-- View All sequences of the current user select SEQUENCE_OWNER, SEQUENCE_NAME from dba_sequences where sequence_owner = 'username'; -- query the total number of sequences of the current user select count (*) from dba_sequences where sequence_owner = 'username'; -- Example: select SEQUENCE_OWNER, SEQUENCE_NA
-- View All sequences of the current user select SEQUENCE_OWNER, SEQUENCE_NAME from dba_sequences where sequence_owner = 'username'; -- query the total number of sequences of the current user select count (*) from dba_sequences where sequence_owner = 'username'; -- Example '; SQL> select SEQUENCE_OWNER, SEQUENCE_NAME from dba_sequences 2 where sequence_owner = 'Wgb'; SEQUENCE_OWNER SEQUENCE_NAME limit WGB SEQ_FOR_TESTWGB SEQ_WGB_ADMINWGB limit SEQ_WGB_COMMONSWGB limit SEQ_WGB_MONEY_USER has selected 9 rows. SQL> select count (*) from dba_sequences where sequence_owner = 'wgb'; COUNT (*) ---------- 9
Note:
1. You must log on as an administrator;
2. sequence_owner must be in upper case, regardless of whether your user name is in upper case. Only uppercase letters can be recognized.
References:
Http://zhidao.baidu.com/question/140904731