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 are date and time data types? : Sql dba
What are types of joins?
Show how functions and procedures are called in a pl/sql block.
Is inner join faster than left join?
Where can I learn sql for free?
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
What is a behavioral trigger?
What is out parameter used for eventhough return statement can also be used in pl/sql?
How many triggers can be applied on a table?
Can we use delete in merge statement?
Can dml statements be used in pl/sql?
How long it takes to learn pl sql?
how to write date and time literals? : Sql dba
What is trigger price?
what does the t-sql command ident_incr does? : Transact sql