Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this assignment! PL/SQL Assignment 4 Notice: before working on these problems, please execute the command set serveroutput on: each time before

image text in transcribed

I need help with this assignment!

PL/SQL Assignment 4 Notice: before working on these problems, please execute the command set serveroutput on: each time before you start to work on a problem (not a Execute the script files company DB. sql sub-problem) 1 Update trigger a Write a trigger that fires when an employee's salary is pdated The trigger will write a record into a table called SalUpdates. The record should contain the information of SSN, new salary, old salary, and date when the change is made (Hint You need create the table SalUpdates first) b. Test the above trigger by updating the salary of employee with ssn 123456789 to 40000 List the Salpdates to verily the results are correc tables employee and Write a trigger that fires when a command tries to delete some rows from Delete DEPARTMEN: table The trigger will reject the deletion and display the warning information "Eailed operation" to the user. (Tip use the system function a ise application error 2. Trigger

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

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

Discuss the Rights issue procedure in detail.

Answered: 1 week ago

Question

Explain the procedure for valuation of shares.

Answered: 1 week ago

Question

Which months of this year 5 Mondays ?

Answered: 1 week ago

Question

Define Leap year?

Answered: 1 week ago