WorksheetsMS SQL SERVER - Day 9
Total questions: 13
Worksheet time: 7mins
________ is a set of operations performed so all operations are guaranteed to succeed or fail as one unit.
Query
Table
Transaction
Database
A transaction can either _____
Be fully completed
Not completed
partialy completed
All of the above
When you use transactions, you put locks on data that is
pending for _____change to the database.
Temporary
Permanent
Nullifying
All of the above
You could lock anything from a single row up to the entire
database.
TRUE
FALSE
A transaction is characterized by four properties,
they are
Isolation
Consistency
Durability
Atomicity
Commit
A transaction is ______ if it's regarded as a single action rather than a collection of separate operations.
Isolation
Consistency
Durability
Atomicity
The transaction should leave the database in a
_____ state, whether or not it completed successfully.
Isolation
Consistency
Durability
Atomicity
Data modifications that occur within a successful transaction are kept permanently within the system regardless of what else occurs. Transaction logs are maintained so that should a failure occur the database can be restored to its original state before the failure
Isolation
Consistency
Durability
Atomicity
Every transaction has a well-defined boundary; that is, it is isolated from another transaction. One transaction shouldn't affect other transactions running at the same time.
Isolation
Consistency
Durability
Atomicity
Identify Transact-SQL statements
BEGIN TRANSACTION
ROLLBACK WORK
SET IMPLICIT_TRANSACTIONS
All of the above
_____________those in which you explicitly control
when the transaction begins and when it ends.
Implicit Transaction
Explicit Transaction
Autocommit
None of the above
When you connect to a database using SQL Server
Management Studio and execute a DML query, the changes are automatically saved. This is known as____
Implicit Transaction
Explicit Transaction
Autocommit
None of the above
_________mode is the default transaction management
mode of SQL Server.
Implicit Transaction
Explicit Transaction
Autocommit
None of the above
