By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,586 Members | 2,347 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,586 IT Pros & Developers. It's quick & easy.

curval in db2

P: 1
How to obtain current value of sequence object in db2
Mar 23 '07 #1
Share this Question
Share on Google+
1 Reply


P: 6
You can use select nextval from 'yoursequece' to get next available value.
Every call to select prevval within your session will give you most recent selected value.
Regards, M
Mar 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.