English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

Write the use of the Savepoint command with an example. - Computer Science

Advertisements
Advertisements

Question

Write the use of the Savepoint command with an example.

Short Note

Solution

The SAVEPOINT command is used to temporarily save a transaction so that you can roll back to the point whenever required. The different states of our table can be saved at any time using different names and the rollback to that state can be done using the ROLLBACK command.
SAVEPOINT savepoint_name;
UPDATE Student SET Name = ‘Mini ’ WHERE Admno = 105;
SAVEPOINT A;

shaalaa.com
SQL Commands and Their Functions
  Is there an error in this question or solution?
Chapter 12: Structured Query Language (SQL) - Evaluation [Page 231]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 12 Structured Query Language (SQL)
Evaluation | Q 4. | Page 231
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×