Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use oracle sql command line with found or notfound method table customer(customerNo, customerName , gender) with trigger like this one it may has some errors

use oracle sql command line with found or notfound method
table customer(customerNo, customerName , gender)
with trigger like this one it may has some errors
create or replace trigger increment_id
before insert on table_name
for each row
Begin
select max(table_id)+1 into :new.table_id from table_name;
End ;
image text in transcribed
4) Create database package pointOfSal which contain the following A. procedure to add new customer which use validation method checkExistingCustomer using cursor to validate customer name if its not exists before, then add this new customer and generate the customer number automatically using database 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

More Books

Students also viewed these Databases questions

Question

Perform an Internet search. Discuss a company that uses EPLI.

Answered: 1 week ago

Question

How do you feel about employment-at-will policies? Are they fair?

Answered: 1 week ago