Question
PL/SQL ORACLE 11g Programming 2E Assignment 7-7 In this assignment, you work with the sales tax computation because the Brewbeans lead programmer expects the rates
PL/SQL ORACLE 11g Programming 2E
Assignment 7-7
In this assignment, you work with the sales tax computation because the Brewbeans lead programmer expects the rates and states applying the tax to undergo some changes. The tax rates are currently stored in package variables but need to be more dynamic to handle the expected changes. The lead programmer has asked you to develop a package that holds the tax rates by state in a packaged cursor. The bb_tax table is updated as needed to reflect which states are applying sales tax and what rates. This package should contain a function that can receive a two-character state abbreviation (the shoppers state) and argument, and it must be able to find a match in the cursor and return the correct tax rate. Use an anonymous block to test the function value NC.
Please use SQL Developer to answer
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