Doubts in Sequqnces ?

  • Hi Friends,

    i ve the doubts in sequenece

    1) When i m trying to create sequence like

    S-1:

    create sequence a_sequence min value 1 max value 25 cycle ;

    Error ll occur.

    so i chance the

    S-2:

    create sequence a_sequence min value 1 max value 25 cycle Nocache;

    its working fine ,my question what was wrong in my S-1:

    2) After creating the sequences when i see Select * from User_sequences;

    i can see the column name of CACHE 20 MB whats is these?

    whats is the use also ? how it ll be created?

    3)is it possible to alter the max value size like

    for example:

    --------------

    1) i m created sequences with maxvalue of 50 again i m tried to reduce the max value 45 but it wont accepted

    why?

    Thanks

    Rocky

  • You'll probably get Oracle questions answered faster on an Oracle forum

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply