Question: 1 . This is a two - part exercise: a . Create a script that creates to tables named InvoiceCopy and VendorCopy that contain all
This is a twopart 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;
DRC with being the original invoice number
In a separate text file, describe in paragraph each, each of the Lock Resource
types in
MS SQL Server
In a separate text file, describe in paragraph each, each of the Lock Modes in
MS SQL
Server
In a separate text file, describe in at least paragraphs how a Deadlock on an
object
Table or Row could happen and how you would solve it
In a separate text file, describe the default locking behavior of MS SQL Server
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
