how to use sequence and what use of sequence cache



how to use sequence and what use of sequence cache..

Answer / 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

More Oracle General Interview Questions

what is the uses of cusor

3 Answers   Perot Systems,


What is bind variable in oracle 11g?

0 Answers  


What is currency type in database ?

3 Answers   TCS,


Define Normalization with example?

1 Answers  


What are a collation and state the different types of collation sensitivity?

0 Answers  


Display Odd/ Even number of records?

3 Answers  


What are the uses of Rollback Segment ?

2 Answers  


Where are the settings stored for each instance in oracle?

0 Answers  


What are the logical operations?

0 Answers  


You create a private database link and upon connection, fails with: ORA-2085: connects to . What is the problem? How would you go about resolving this error?

1 Answers  


i have a table and it has constraints and i want to get "ALTER TABLE table_name ADD CONSTRAINT constraint_name constraint type" this code must be in string type please help me if you want, i can give more explainings

2 Answers  


can we pass two out parameters at a time in function?please answer to my question

3 Answers   Wipro,


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)