Question: Chapter 1 4 Individual Assignment: Using an Object Table of XMLType in Oracle Step 1 4 . 1 - Open the text file called: Chapter

Chapter 14 Individual Assignment: Using an Object Table of XMLType in Oracle
Step 14.1- Open the text file called: Chapter_14_Individual_Assignment_Using_an_Object_Table_of_XMLTYPE.txt
Step 14.2- Copy each SQL statement and paste them into SQL*Plus at the SQL> prompt to see an example of creating and using an Oracle Object Table of XMLType called Customers.
Note: Log into the Oracle Database as your Oracle User ID to run all of the statements in the text file (Do not use SYS or SYSTEM for this step).
Note: Show your work by providing screenshots that include the current user id, current system date, executing the SQL statements in the database, and the results. To display the current user and current date, run the following statement before running the SQL statements:
SQL> select user||''||sysdate from dual;
Step 14.3 Design an Oracle Object Table of XMLType called Employees. Then create the Oracle Object Table of XMLType in the database.
Note: Use your Oracle User ID to create the Employees table (Do not use SYS or SYSTEM for this step).
Note: Show your work by providing screenshots that include the current user id, current system date, executing the SQL statements in the database, and the results.
Step 14.4- Design 3 Insert SQL statements using XML format. Then insert the 3 records into the table. Table attributes should include: employee_id, employee_name, employee_address, employee_telephone, employee_job_title, employee_salary.
Note: Use your Oracle User ID to run the Inserts into the Employees table (Do not use SYS or SYSTEM for this step).
Note: Show your work by providing screenshots that include the current user id, current system date, executing the SQL statements in the database, and the results.
Step 14.5- Design 5 Select SQL statements using the example in Step 14.1 as a guide. Then execute the 5 SQL statements in the database.
Note: Show your work by providing screenshots that include the current user id, current system date, executing the SQL statements in the database, and the results.
Note: To display all of the data properly, run the following 2 statements after you log into the Oracle Database as your Oracle User ID (before running the five query statements):
SET LONG 10000
SET PAGESIZE 10014.a - Creating an Object Table of XMLType
create table Customers of XMLtype;
--14.b - Inserting into an XMLType Table
insert into customers values(XMLType(
'
WorldWide Travel Agency

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 Databases Questions!