RelationalDBDesign
SiteMap
Business Rules
Cursors Views
Database Creation
SQL Monitoring
Database Web Apps
Data Manipulation
Access Features
Building Access DB
Transactions Locks
«Prev
Next»
Business Rules
Transaction Locking
Define Transactions
Three Transactions Modes
Define Isolation Levels
Identify Nested Transactions
Transaction Isolation - Quiz
Optimistic Pessimistic Locking
Deadlock Transaction Blocking
Avoid Server Deadlocks
Commit Rollback Transaction
Manage Distributed Tx
Error Handling Testing
Transaction Locking Conclusion
Server Interaction
Assign Use Variables
SQL Server Functions
SQL Function Statements
Date Time Functions
Reporting Errors
SQL Raising Errors
Programming Concepts Conclusion
SQL-Server Triggers
Trigger SQL Server Utility
Three Trigger Types
Enforcing Business Rules
Creating SQL Triggers
Practice Creating Triggers
Creating Triggers - Exercise
Implementing SQL-Server-Triggers
Modifying Triggers
Deleting SQL-Server Triggers
Testing SQL-Server Trigger
SQL Trigger Conclusion
SQL Triggers-Quiz
Stored Procedures
What is SP
Enforcing Business Rules
Creating SP
User Defined SP
Stored Procedures - Exercise
Modifying Procedures
Deleting Stored Procedures
System Extended SP
Error Handling
Using Output Parameters
Executing Stored Procedures
Testing Stored Procedures
Different SP Conclusion
Stored Procedure - Quiz
Accessing Remote Data
Enterprise Manager Server
Adding Remote Login
Creating Transactions - Exercise
Objective:
Practice creating a transaction.
Exercise Scoring
This exercise is worth a total of 5 points. You will receive up to 5 points for accurately creating the transaction described in the instructions.
Instructions
Wrap any two Transact-SQL statements of your choosing within a transaction. Make sure to rollback the transaction if there are any errors after the first and second Transact-SQL statements.
Submitting the Exercise
Type or paste your statements into the text box below, then click
Submit
and view a results page.