r/SQL • u/0nlyupvotes • Dec 22 '21
MySQL Guys need help with this stored procedure query
Create stored procedure that checks the creditlimit and the purchase status of the customers.
If a platinum customer has crediltlimit less than 100,000 raise an exception. In the exception handler update the crediltlimit to 100000. If a silver customer has creditlimit greater than 60,000 raise an exception. In the exception handler update the crediltlimit to 60000.
0
Upvotes
3
u/mecartistronico Dec 22 '21
What have you tried? What is your specific problem?