Whats the purpose of using Nextval while creating the
sequence.
Answer Posted / sreekanth
To get the next value of a sequence, we use nextval.
NextVal is pseudo column, which gives you the AVAILABLE
number in the sequence.
Remember the nextval value also depends on the cache you
have given, while creating the sequence.
If you want current value of a sequence you can use CurVal.
In a session you cannot use current value without getting
next value.
In 11g the you can use the nextval without using the query.
ie
select seq_name.nextval into ln_seqnextval from dual;
can be replaced by
ln_seqnextval := seq_name.nextval;
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the process of recievables in oracle financials. : oracle accounts receivable
what are the API of GL,PO,AP
3. Steps in UAT?
What is the importance of batch source set up in ar? : oracle accounts receivable
please send me oracle pl/sql exp resume. and also faqs...
what is difference between inner join & nested query or subqueries
What is an Oracle database Partial Backup?
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
as a technical developer in oracle applications which type errors feced in your experience sofar
HOW TO SAVE UNIVERSES AND DOCUMENTS IN THE REPOSITORY?
key flexfield structure
Hi, I want to know basic information about Oracle HRMS and the institutes in hyderabad or the best faculty as i want to make my career in it.And also want to know may a person from non technical background be able to do this course. Regards, Swetha
default triggers available for reports
What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable
how can we add a field to the oracle standard forms through Form Persanlization or custom.pll