Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Need the procedures for these questions in qsuedo code 1. Create a stored procedure name procBookPriceUpdate that updates the price of a book based on the ISBN number as specified below. a. Create a procBookPriceUpdate stored procedure that requires the following parameters. i. ISBN ii. Price b. procBookPriceUpdate () if ISBN is invalid throw error else If Price is negative throw error else update price end The procedure must implement the following pseudo code. See pages 430 to 447 for examples. 1. Write a script to test your procedure. Demonstrate the error messages. Include select statements to verify the rows were added. 2. Create a stored procedure name procPublisherDelete that implements cascade delete of Publisher, Books, and BookAuthors based on the PublisherID. The procedure should implement a transaction and rollback any modifications if an error occurs. a. Create a procPublisherDelete stored procedure that requires the following parameters. i. PublisherID b. The procedure must implement the following pseudo code. See page 505 for transaction example. examples. procPublisherDelete() Try Begin Transaction Delete related BookAuthors Delete related Books Delete Publisher Commit Transaction Catch Rollback Transaction end a. Use the following subquery to delete BookAuthor records DELETE FROM BookAuthors WHERE BookID IN (SELECT BookID FROM Books WHERE PublisherID = @PublisherID) 2. Write a script to test your procedure. Demonstrate the both the commit and the rollback.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9887248

Have any Question?


Related Questions in Computer Engineering

A chemistry student needsnbsp700 ml of dimethyl sulfoxide

A chemistry student needs 70.0 mL of dimethyl sulfoxide for an experiment. By consulting the  CRC Handbook of Chemistry and Physics , the student discovers that the density of dimethyl sulfoxide is 1.10 g.cm^-3. Calculat ...

Question share your favorite open web resource and what

Question : Share your favorite open web resource and what cool tools does it have? What can you learn from it? How will it help as a career resource? What is your favorite learning express or JCA course, tool, or Page. W ...

What are the best practices to follow for microsoft windows

What are the best practices to follow for Microsoft Windows network security. Which two would you start with and why?

On the spot courier services grew and changed over the

On the Spot courier services grew and changed over the years. At first, Bill received requests for package pickups on his mobile phone, recorded that information in a log, and would then drive around to retrieve all the ...

If the real interest rate is -15 per annum and the infla-

If the real interest rate is -1.5% per annum and the infla- tion rate is 3% per annum, then what is the present value of a $1,000,000 nominal payment next year?

Discuss the criteria necessary to establish a factor as a

Discuss the criteria necessary to establish a factor as a confounder and provide an example applying these criteria?

Answer the following question a suppose alice shares a

Answer the following Question : a. Suppose Alice shares a secret block cipher key, K_AB with Bob, and a different secret block cipher key, K_AC with Charlie. Describe a method for Alice to encrypt an m-block message such ...

Question suppose that a simple fpga programmable switch

Question : Suppose that a simple FPGA programmable switch that has four destination points (N, S, E and W) and consists of 6 pass transistors with 6-SRAM cells to program each gate (T1, T2, T3, T4, T5, T6) is used. If th ...

Reading the biographybook where the body meets memory by

Reading the Biography Book : "Where the Body Meets Memory" by David Mura Questions: On page 62 to 66, David Mura talked about an incident when he was in fifth grade. A bully called Mike Wrangel was trying to beat up anot ...

Question suppose we want to build a b tree that has space

Question : Suppose we want to build a B+ tree that has space for 200,000 data entries in its leaf pages. Each data entry is made up of a key and its corresponding data value. Let us assume the following specifications. E ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As