Skip to Main Content

Oracle Database Discussions

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!

Sequance current value for one session?

682732Dec 16 2010 — edited Dec 17 2010
Hi,

Can anyone confirm if the following statement is true?


------------------------------------
If there is more then one session using the same sequence at the same time then i only get the current value of my session.
-----------------------------------

I am using oracle 9i and inserting values in two tables. First table will have the sequance nextval and second table will have curval of same sequance. I am wondering if there is another user using the same sequance at the same time then would i get the curval of my session (which i have just added into the first table) or will it be from different session?

Thanks
This post has been answered by tkyte-Oracle on Dec 16 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2011
Added on Dec 16 2010
19 comments
2,068 views