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
How many developers work on postgresql?
How do you update a value in sql?
How do I partition a table in sql?
What are different types of statements supported by sql?
What is sql comments?
what is the difference between delete and truncate statement in sql? : Sql dba
what does myisamchk do? : Sql dba
What is a dirty read sql?
Compare sql & pl/sql
explain the difference between myisam static and myisam dynamic. : Sql dba
How much does sqlite cost?
Is there a 64 bit version of ssms?
How to call shell script from pl sql procedure?
What is the difference between having clause and where clause?
What is difference between pls_integer and integer?