Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can`t see the sequence in all_sequences but dba_sequences, why?

672680Dec 8 2009 — edited Dec 8 2009
I created a sequence with below sql on many environments:
CREATE SEQUENCE  IMSDBA.BLTR_BATCH_SQNCE  MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER  NOCYCLE ;
grant select  on IMSDBA.BLTR_BATCH_SQNCE to dmm_role;
but the odd thing is that I can`t get the row for the sequence from all_sequences but only dba_sequences.
and this is happening on only one of the environments. all the other envs are working as expected.
select * from ALL_sequences where sequence_owner='IMSDBA' and sequence_name='BLTR_BATCH_SQNCE';
select * from dba_sequences where sequence_owner='IMSDBA' and sequence_name='BLTR_BATCH_SQNCE';
Could anyone tell me why?
This post has been answered by JustinCave on Dec 8 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2010
Added on Dec 8 2009
11 comments
4,824 views