Question: Homework 8 . Oracle Programming 1 Due q , In Oracle, create a hw 8 _ Customers table with the following fields. ( You may

Homework 8. Oracle Programming 1
Due q,
In Oracle, create a hw8_Customers table with the following fields. (You may use varchar2 if you like (2))
SQL> describe hw8_customers;
Name
Null? Type
q,----
SSN
CHAR (9)
LASTNAME
CHAR (30)
FIRSTNAME
CHAR (30)
MIDDLE
CHAR (30)
PHONE
CHAR (10)
2. Write a program hw8.sql that will insert a new customer record into the table, like the following:qquad
Specifications:
The system displays the New Customer Program title.
The system prompts for social security number, last name, first name, middle name, and phone of the new customer. Notice that the user can enter in lower case.
The system inserts the new record into the hw8_Customers table.
The system displays the new record (from the hw8_Customers table) for confirmation. Note that (1) data should be displayed with appropriate format. (2) there are OTHER customer data in the hw8_Customers table. You should only display the current customer.
Spool your output to hw8.txt. Run the program until there is no error. Test your program by entering at least 2 customers (so I can see your query pulls up the correct record). Print a copy of hw8.sql and hw8.txt. Turn in both copies.
Homework 8 . Oracle Programming 1 Due q , In

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!