Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

--IN SQL/PL-- Assignment 4-5: Handling Predefined Exceptions A block of code has been created to retrieve basic customer information (see the assignment04-05.sql file in the

--IN SQL/PL--

Assignment 4-5: Handling Predefined Exceptions A block of code has been created to retrieve basic customer information (see the assignment04-05.sql file in the Chapter04 folder). The application page was modified so that an employee can enter a customer number that could cause an error. An exception handler needs to be added to the block that displays the message Invalid shopper ID onscreen. Use an initialized variable named lv_shopper_num to provide a shopper ID. Test the block with the shopper ID 99.

This is from assignment04-05.

DECLARE rec_shopper bb_shopper%ROWTYPE; BEGIN SELECT * INTO rec_shopper FROM bb_shopper WHERE idShopper = ??; END;

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

Students also viewed these Databases questions

Question

Discuss cultural and situational factors that influence hunger.

Answered: 1 week ago

Question

Using Language That Works

Answered: 1 week ago

Question

4. Are my sources relevant?

Answered: 1 week ago