Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Chapter 1 4 Individual Assignment: Using an Object Table of XMLType in Oracle Step 1 4 . 1 - Open the text file called: Chapter
Chapter Individual Assignment: Using an Object Table of XMLType in Oracle
Step Open the text file called: ChapterIndividualAssignmentUsinganObjectTableofXMLTYPE.txt
Step Copy each SQL statement and paste them into SQLPlus 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 usersysdate from dual;
Step 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 Design Insert SQL statements using XML format. Then insert the records into the table. Table attributes should include: employeeid employeename, employeeaddress, employeetelephone, employeejobtitle, employeesalary.
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 Design Select SQL statements using the example in Step as a guide. Then execute the 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 statements after you log into the Oracle Database as your Oracle User ID before running the five query statements:
SET LONG
SET PAGESIZE a Creating an Object Table of XMLType
create table Customers of XMLtype;
b Inserting into an XMLType Table
insert into customers valuesXMLType
WorldWide Travel Agency
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