How to access the current value and next value from a
sequence?
Answer Posted / saty
select sequencename.currval from dual
select sequencename.nextval from dual
if we will give only table name thr will be error
Thanks & regards
satya
+919916174212
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is data abstraction in sql?
what is an extent ? : Sql dba
What is materialized view in sql?
what are all the common sql function? : Sql dba
What is a table?
What are the ways on commenting in a pl/sql code?
How to rename a table?
What is a sql*loader control file?
how to fetch common records from two tables? : Sql dba
Explain commit, rollback and savepoint.
Is sql scripting language?
What is trigger in pl sql with examples?
How can we optimize a sql query?
Explain the purpose of %type and %rowtype data types with the example?
What is a trigger in sql?