Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . This is a two - part exercise: a . Create a script that creates to tables named InvoiceCopy and VendorCopy that contain all

1. This is a two-part exercise:
a. Create a script that creates to tables named InvoiceCopy and VendorCopy that
contain
all of the records from the Invoices and Vendors table.
b. Create a script that contains a set of action queries coded as a transaction.
The first
action should update the VendorCopy table by changing the VendorName Data
Reproductions Corp to DRC. The second action should update all invoices for
Data
Reproductions Corp so that their invoice numbers include the prefix DRC
(example;
DRC1234, with 1234 being the original invoice number).
2. In a separate text file, describe in 1 paragraph each, each of the Lock Resource
types in
MS SQL Server 2022.
3. In a separate text file, describe in 1 paragraph each, each of the Lock Modes in
MS SQL
Server 2022.
4. In a separate text file, describe in at least 2 paragraphs how a Deadlock on an
object
(Table or Row) could happen and how you would solve it.
5. In a separate text file, describe the default locking behavior of MS SQL Server
2022

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions