Question
Oracle SQL Create a script that uses a database trigger to output messages that describe the records that are entered into a table. The script
Oracle SQL
Create a script that uses a database trigger to output messages that describe the records that are entered into a table. The script must perform the following:
Create a database trigger, "emp_insert_t1" that will display a message for each record that has been entered into the "emp" table. The message should contain the employee number, employee name and the employee salary. The following is an example of an output message.
"Record entered for employee Jackson with employee number 1234 and salary 25000"
Insert 10 records into the "emp" table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started