Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
1.9k views
in Computer by (79.3k points)

Mr. Krishnaswami is working on a database and has doubt about the concept of SAVEPOINT in a transaction. Write down the meaning of SAVEPOINT and provide a simple example considering yourself as an online web support executive.

1 Answer

+1 vote
by (76.4k points)
selected by
 
Best answer

SAVEPOINT is a point in a transaction, up till which all changes have been saved permanently'

EXAMPLE:

mysql>

mysql> CREATE TABLE Books -> ( -> BookID SMALLINT NOT NULL PRIMARY KEY, BookTitle VARCHAR(60) NOT NULL, CopyrightYEAR NOT NULL)

> ENGINE=INNODB;

mysql> START TRNSACTION;

mysql> INSEKI INTO Books VALUES (103,'Opera', 1966);

mysql> INSERT INTO Books VALUES (104,'Sql Sewer', 1932);

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...