Question: Write MySQL , PL / SQL , or T - SQL procedures to accomplish the following task: a . Obtain the name and credit limit
Write MySQL PLSQL or TSQL procedures to accomplish the following task:
a Obtain the name and credit limit of the customer whose ID is currently stored in ICUSTID Place these values in the variables ICUSTOMERNAME and ICREDITLIMIT, respectively. Output the contents of ICUSTOMERNAME and ICREDITLIMIT.
b Obtain the invoice date, customer ID and first and last names for the invoice whose number currently is stored in IINVOICENUM. Place these values in the variables IINVOICEDATE, ICUSTID and ICUSTNAME, respectively. Output the contents of IINVOICEDATE, ICUSTID and ICUSTNAME.
c Add a row to the INVOICE table.
d Change the date of the invoice whose number is stored in IINVOICENUM to the date currently found in IINVOICEDATE.
e Delete the invoice whose number is stored in IINVOICENUM.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
