Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use oracle sql command line with found or notfound method --- with table Customer( customerNo,costomer Name ,gender ) Employee ( em ployeeNo,employeeName ,job ) ,branch(
use oracle sql command line with found or notfound method
---
with table
Customer(customerNo,costomerName
,gender)
Employee (employeeNo,employeeName,job) ,branch(No,Name),
category(catNo,catogeryName)
___
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.
B. Method to add new Employee which use validation method checkExistingEmployee using cursor to validate Employee name if its not exists before, then add this Employee and generate the Employee number automatically using database trigger.
C. procedure to add new Category which use validation method checkExistingCategory using exception to validate category name if its not exists before, then add this category and generate the category number automatically using database trigger.
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