how to use sequence and what use of sequence cache

Answer Posted / pravin

sequence is sharable object in database which is use to
generate unique number
use of sequence is like
insert into table(emp_id,name)values
(sequencname.nextvalue,name)
&
cache is the memory use to how manu values preallocates in
memory & keep in memory defined in cache.
by default 20 values can be stored in cache.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a proxy class?

559


Can we connect to ORACLE db using Windows Authentication?

722


What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.

545


Why do you use stored procedures and state some of its disadvantages?

563


What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?

618






How can I create database in oracle?

571


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1483


Is oracle the best database?

522


Give syntax for SQL and ORACLE joins.

634


21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.

1622


what is meant by magic query

1773


What is oracle join syntax?

570


What are the differences between interval year to month and interval day to second?

554


Explain user account with reference to oracle.

534


How to use "in out" parameter properly?

614