How to access the current value and next value from a
sequence?
Answer Posted / chandrasekar ramasamy
select sequencename.currval from tablename
select sequencename.nextval from tablename
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is a pragma statement?
Is pl sql a scripting language?
What is data manipulation language?
Can %notfound return null after a fetch?
Explain what is a view?
Can we use update in sql function?
What is equi join in sql?
What is a database trigger?
what is the difference between primary key and unique key? : Sql dba
Is it possible to create startup or shutdown trigger for on-schema?
Explain the purpose of %type and %rowtype data types with the example?
What are the three forms of normalization?
what is a foreign key ? : Sql dba
Why sql query is slow?
what are all types of user defined functions? : Sql dba