Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a SQL Server Stored Procedure ( SP ) to display the Sales Rep assigned to Customers that have a balance exceeding a given amount.
Create a SQL Server Stored Procedure SP to display the Sales Rep assigned to Customers that have a balance exceeding a given amount. That given amount should be the single input parameter of your SP Use the cursor to generate and print the list of customers first and last names only whose balance exceeds the specified amount, and the Sales Rep name sales reps first and last name only for each customer in the list, like this:
The Sales Rep for Customer Joey Smith is: Susan Garcia
The Sales Rep for Customer Billy Rufton is: Richard Miller
The Sales Rep for Customer Sandra Pincher is: Donna Smith
Now, execute your Stored Procedure for customers whose balance exceeds $ and display the outputresults
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