How to access the current value and next value from a
sequence?
Answer Posted / tulsi
select currval.sequence_name from table_name
select nextval.sequence_name from table_name
| Is This Answer Correct ? | 0 Yes | 9 No |
Post New Answer View All Answers
What is clause?
what is a constraint? Tell me about its various levels. : Sql dba
Can we rollback after truncate?
describe transaction-safe table types in mysql : sql dba
Can we use update in sql function?
What happens when a trigger is associated to a view?
What is sql trigger example?
what is a stored procedure? : Sql dba
How do I clear the screen in sql plus?
What is set serveroutput on?
what is an extent ? : Sql dba
What is the mutating table and constraining table?
What is the difference between subquery and correlated query?
Does oracle use sql?
Is inner join same as self join?