Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Savepoints divide long transaction into smaller parts - Oracle Transaction
Home
>>
Category
>>
Oracle (MCQ) questions and answers
>>
Oracle Transaction
Q. Savepoints divide a long transaction into smaller parts.
- Published on 12 Aug 15
a.
True
b.
False
ANSWER: True
Related Content
Oracle DBA (
67
)
Oracle Replication (
19
)
Oracle Architecture (
20
)
Oracle Transaction (
40
)
Administering and Managing an Oracle Database (
25
)
Managing Oracle Database Processes (
8
)
Oracle Control Files (
27
)
Oracle Redo Log (
23
)
Oracle Tablespaces (
24
)
Oracle Datafiles and Tempfiles (
13
)
Oracle Managed Files (
11
)
Oracle Schema (
26
)
Oracle Tables (
13
)
Oracle Indexes and Partitioned Tables (
24
)
Oracle Clusters (
24
)
Oracle Views, Sequences, and Synonyms (
15
)
Oracle Distributed Database concepts (
28
)
Discussion
Nirja Shah
-Posted on 22 Sep 15
- You can declare intermediate markers called savepoints within the context of a transaction.
- Savepoints divide a long transaction into smaller parts.
- Using savepoints, you can arbitrarily mark your work at any point within a long transaction.
- You then have the option later of rolling back work performed before the current point in the transaction but after a declared savepoint within the transaction.
- For example, you can use savepoints throughout a long complex series of updates, so if you make an error, you do not need to resubmit every statement.
- Savepoints are similarly useful in application programs.
- If a procedure contains several functions, then you can create a savepoint before each function begins.
- Then, if a function fails, it is easy to return the data to its state before the function began and re-run the function with revised parameters or perform a recovery action.
- After a rollback to a savepoint, Oracle releases the data locks obtained by rolled back statements.
- Other transactions that were waiting for the previously locked resources can proceed.
- Other transactions that want to update previously locked rows can do so.
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲