Setup Instructions for Chapter 10
Database Setup
Before running the examples in Chapter 10, do the following:
- Set your current directory to ./orxmlapp/Examples/ch10
- Run the following SQL scripts as the indicated user...
- If you have not already run it as part of the setup for Chapter 8, then as user XMLBOOK, run the ../ch08/create_ch8_tables.sql script.
Creates, among others, the quotes and portfolio_stocks tables used by the examples
- If you have not already run it as part of the setup for Chapter 8, then as user XMLBOOK, run the PatientVisitFacilityDoctor.sql script.
Creates the patient, visit, facility, and doctor tables used in the examples
To run a script use the SQL*Plus command-line tool that
comes with your Oracle database using the command:
$ sqlplus username/password @scriptname.sql