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
How do you create a db file?
What is the difference between row level and statement level trigger?
What is an inconsistent dependency?
How do you rank data in sql?
Is sql low level language?
i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5
Is sql harder than python?
What types of commands can be executed in sql*plus?
What is prepared statement in sql?
What is cte?
What is query execution plan in sql?
What is database migration?
What is a unique constraint?
What is the purpose of the partition table?
What are the two types of periodical indexes?