Question
a.
BEGIN TRANSACTION;
GO
DELETE FROM HumanResources.JobCandidate
WHERE JobCandidateID = 13;
GO
COMMIT TRANSACTION;
b.
BEGIN TRANSACTION;
GO
DELETE FROM HumanResources.JobCandidate
WHERE JobCandidateID = 13;
GO
ROLLBACK TRANSACTION;
c.
BEGIN TRANSACTION;
GO
DELETE FROM HumanResources.JobCandidate
WHERE JobCandidateID = 13;
GO
END;
d.
All of the mentioned
Posted under SQL Server
GO
DELETE FROM HumanResources.JobCandidate
WHERE JobCandidateID = 13;
GO
COMMIT TRANSACTION;
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following query deletes a job candidate?
Similar Questions
Discover Related MCQs
Q. Point out the wrong statement.
View solution
Q. A ROLLBACK TRANSACTION statement specifying a savepoint_name releases any locks that are acquired beyond the savepoint, with the exception of __________
View solution
Q. What is the fundamental difference between COMMIT and COMMIT WORK?
View solution
Q. Implicit transactions are maintained by SQL Server for ___________
View solution
Q. ROLLBACK WORK always rolls back to the outermost BEGIN TRANSACTION statement for ___________ transactions.
View solution
Q. Which of the following condition will ignore the request to enable delayed durability?
View solution
Q. Which of the following resource can be locked in SQL Server?
View solution
Q. Point out the correct statement.
View solution
Q. ______________ allow concurrent transactions to read (SELECT) a resource.
View solution
Q. Which is the most restrictive isolation level in transaction?
View solution
Q. Point out the wrong statement.
View solution
Q. __________ locks allow processes to bulk copy data concurrently into the same table.
View solution
Q. Which of the following locking hint is similar to NOLOCK?
View solution
Q. Which of the following mode indicates the intention of the transaction to read all of the resources lower in the hierarchy?
View solution
Q. Which of the following lock is incompatible with all lock modes?
View solution
Q. Which of the following mode has exclusive range and exclusive resource lock?
View solution
Q. Which of the following design strategy can reduce the occurrence of blocking locks?
View solution
Q. Point out the correct statement.
View solution
Q. Which of the following scenario give rise to deadlock (There are 2 processes)?
View solution
Q. Which of the following occurs when two connections need access to same piece of data concurrently and the meanwhile another is blocked because at a particular time, only one connection can have access?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond SQL Server? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!