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

how to store only time in a data base table

2 Answers  


What is enter substitution variable in oracle?

0 Answers  


How to get a list of all user accounts in the database?

0 Answers  


in account table account type amount ac1 credit 300 ac2 debit 5000 ac3 credit 3000 ac1 debit 4000 ac3 debit 2000 ac2 credit 4000 write a query how to get sum of credit & sum of debit

3 Answers   Polaris,


without using count(*) and rownum how can we count total record in a table

5 Answers   AC, HP,






How to unlock the sample user account in oracle?

0 Answers  


How to use windows user to connect to the server?

0 Answers  


What is the sql query to concatenate column values from multiple rows in oracle?

0 Answers  


what are the different types of cursors? explain?

4 Answers  


what r tyhe major differences between oracle 9i & 10g?

6 Answers  


What is a sub query? Describe its types?

0 Answers  


How do I learn what codesets are available in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)