What are the usage of SAVEPOINTS?
Answers were Sorted based on User's Feedback
Answer / bindhu
Savepoints are used to create marker in the current
transaction by using SAVEPOINT statement which divides the
transaction into smaller section. We can then dicard
pending changes up to that marker by using the ROLLBACK TO
SAVEPOINT statement.
| Is This Answer Correct ? | 19 Yes | 4 No |
Answer / tulsi
1)In savepoint we can only rollback to every point the
savepoint is issued but we cant do commit at every savepoint
| Is This Answer Correct ? | 16 Yes | 4 No |
Answer / kotravel. b
To perform line by line transaction we r using save point
| Is This Answer Correct ? | 4 Yes | 5 No |
What is difference between a Cursor declared in a procedure and Cursor declared in a package specification ?
How many database objects (trigger, packages, sequence etc) uses a particular field in a given table. For ex: I want to know how many database object uses the ATTRIBUTE1 in the PO_VENDORS table. What query will give me the result showing the database object name(package, trigger etc), field_name used (in this case ATTRIBUTE1) and table_name (in this case PO_VENDORS).
4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B On A.dept_id=B.dept_id And A.emp_id=B.emp-id;
What is pl sql code?
How delete all records from table in sql?
how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba
What are types of exception?
What is difference between db2 and sql?
i have a table with column sno with 30 records. i want to update this column by item by item in asp.net. i wantto enter new values into that from 1 to 30 how is it possible with backend c#
Who developed sql?
What are the differences between Database Trigger and Integrity constraints ?
what are the advantages of cursors than procedures?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)