Question: Exercise 1 User u 1 / p 1 have created the following table and inserted rows EMP 1 ( EMPNO NUMBER ( 4 ) ,
"Exercise
User up have created the following table and inserted rows
EMP EMPNO NUMBER
ENAME VARCHAR
JOB VARCHAR
SAL NUMBER
DEPTNO NUMBER
Create a table ARCHIVEEMP with the same schema as the table EMP
For archive purpose, develop a TD trigger that records into ARCHIVEEMP every deleted Employee.
Exercise
Develop a trigger that forbids any modification of the employees salary.
Create the table AUDITEMPSAL
Uname VARCHAR
ChangeDate DATE,
OldSal NUMBER
NewSal NUMBER
DayNo NUMBER
Develop a trigger that records any change of salaries done during the weekends assumed as days & of week into the table AUDITEMPSAL"
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
