Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1 This lab will test your knowledge of transactions and error handling. Using the WideWorldImporters database and the Warehouse schema, perform the following tasks:

Part 1 This lab will test your knowledge of transactions and error handling. Using the WideWorldImporters database and the Warehouse schema, perform the following tasks: Truncate the data in table Transactions. Examine the columns in Transactions. Write a transaction to insert five rows into the Transactions table. One insert statement must have a NULL value in TheData and one must be a duplicate of a value previously inserted into TheID. If all inserts are successful Commit the transaction. If not, Rollback the transaction and display the ERROR_NUMBER and ERROR_MESSAGE. Execute the transaction block. Take a screen shot of the SQL windows and results and paste it here. Part 1A Select the data from the Transactions table. Take a screen shot of the SQL windows and results and paste it here. Part 2 Change the Insert statements in the transaction block by fixing the data that was causing the error. Execute the transaction block. Take a screen shot of the SQL windows and results and paste it here. Part 2A Select the data from the Transactions table. Take a screen shot of the SQL windows and results

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Complete Guide To Spotting Accounting Fraud And Cover-Ups

Authors: Martha Maeda

1st Edition

160138212X, 978-1601382122

More Books

Students also viewed these Accounting questions

Question

describe the two basic forms of functional social support;

Answered: 1 week ago

Question

=+10. Did you clearly project the brand's USP?

Answered: 1 week ago