|Oracle® Database Examples Installation Guide
11g Release 1 (11.1)
Part Number E10402-01
Examples Installation Guide
11g Release 1 (11.1)
This document describes how to install and configure the products available on the Oracle Database Examples media. It includes the following sections:
The following sections describe the products that are installed. You must install these products in an existing Oracle Database 11g Release 1 (11.1) Oracle home:
Note:The Summary screen provides a detailed list of Oracle Examples to be installed into an existing Oracle Database 11g Oracle home.
Oracle Database Examples include a variety of examples and product demonstrations that you can use to learn about the products, options, and features of Oracle Database. Many of these examples are designed to work with the Sample Schemas, which you can install in any Oracle Database. Many of the documents in the Oracle Documentation Library use the example programs and scripts provided with the Oracle Database Examples.
This section contains the following topics:
Before you can use the Oracle Database Examples, you must install the Sample Schemas in an Oracle Database. When you install Oracle Database, or use Database Configuration Assistant to create a new database, you can choose to include the Sample Schemas when you create the database. You can also manually install the Sample Schemas in an existing database.
See Also:Oracle Database Sample Schemas for information about manually installing the Sample Schemas in an existing database
Oracle Globalization Demos showcase the features and APIs of the Oracle Globalization Development Kit (GDK), which offers a complete framework to ease the development of globalized internet applications. The GDK Example demo illustrates individual functionalities such as locale-sensitive data formatting, linguistic sorting, locale mapping, locale determination, and language detection. The Oracle Store demo illustrates how the GDK features can be integrated to build a complete multilingual J2EE web application that serves users with vastly different locale preferences.
See Also:Chapter 8, "Oracle Globalization Development Kit" in Oracle Database Globalization Support Guide for more information on these demos
Oracle Multimedia (formerly Oracle interMedia) is a feature that enables Oracle Database to store, manage, and retrieve images, audio, video, or other heterogenous media data in an integrated fashion with other enterprise information. Oracle Multimedia extends Oracle Database reliability, availability, and data management to multimedia content in traditional, Internet, electronic commerce, and media-rich applications. It includes a number of scripts and sample applications that you can use. These consist of OCI, SQL, Java, PL/SQL, and ASP/VBScript sample applications (demos).
See Also:Appendix A, " Oracle Multimedia Sample Applications" in Oracle Multimedia User's Guide for more information on these demos
Oracle Precompiler Demos show application programmers how to embed SQL operations in C/C++ and COBOL code in a way that is compatible with ANSI standard. A Pro*C program is a C program containing embedded SQL statements. Oracle Pro*C/C++ and Pro*COBOL Demos offer extensions to support dynamic SQL operations, which are operations that can change in real time. It is also possible to use dynamic SQL operations through PL/SQL code (known as anonymous PL/SQL block) with a Pro*C/C++ and Pro*COBOL application. Typical applications contain much more static SQL than dynamic SQL. The precompiler translates each embedded SQL statement into calls to the Precompiler runtime library (SQLLIB).
Oracle Spatial is an integrated set of functions and procedures that enables spatial data to be stored, accessed, and analyzed quickly and efficiently in an Oracle database. Spatial data represents the essential location characteristics of real or conceptual objects as those objects relate to the real or conceptual space in which they exist. Oracle Spatial Demos provide SQL schema and functions that facilitate the storage, retrieval, update, and query of collections of spatial features in an Oracle database.
"Spatial Examples" in Oracle Spatial Developer's Guide
"GeoRaster PL/SQL Demo Files" in Oracle Spatial GeoRaster Developer's Guide
"Network Data Model Documentation and Demo Files" in Oracle Spatial Topology and Network Data Models Developer's Guide
Oracle SQLJ Demos show application programmers how to embed SQL operations in Java code in a way that is compatible with the Java design philosophy. A SQLJ program is a Java program containing embedded SQL statements. Oracle SQLJ Demos offer extensions to support dynamic SQL operations, which are operations that can change in real time. It is also possible to use dynamic SQL operations through JDBC code or PL/SQL code within a SQLJ application. Typical applications contain much more static SQL than dynamic SQL. SQLJ consists of both a translator and a run-time component and is smoothly integrated into the development environment.
See Also:Oracle Database SQLJ Developer's Guide and Reference for more information on these demos
Oracle XML Demos showcase the features of the Oracle XML Developer's Kit (XDK), which is a versatile set of components that enables you to build and deploy C, C++, and Java software programs that process XML.
Oracle Database Examples media installs two Oracle Text knowledge bases, English and French. You can extend the supplied knowledge bases depending on your requirements. Alternatively, you can create your own knowledge bases, in languages other than English and French.
See Also:Oracle Text Reference for more information about creating and extending knowledge bases
The requirements for installing Oracle Database Examples are as follows:
Before you install products from the Oracle Database Examples media, you must ensure that your system has access to an Oracle Database 11g Release 1 (11.1) Oracle home. If required, you must first install or upgrade to this release of Oracle Database.
See Also:Oracle Database Installation Guide for information about installing Oracle Database
Identify the Oracle home directory used by the Oracle Database installation.
On UNIX platforms, check the contents of the
oratab file by using the following command:
# more /etc/oratab
On Windows platforms:
From the Start menu, choose Programs, then Oracle - HOME_NAME, then Oracle Installation Products, then Universal Installer.
When the Welcome screen appears, click Installed Products.
The Inventory screen appears, listing all of the Oracle homes on the system and the products installed in each Oracle home.
On the Inventory screen, expand each Oracle home and locate Oracle Database 11g.
Click Close and then Cancel to exit Oracle Universal Installer.
On Unix platforms:
oracle_home_path command to check that the Oracle home directory has enough space.
oracle_home_path is the directory where Oracle home is installed.
Double-click My Computer.
Right-click the drive where the Oracle software is to be installed.
This section describes how to download Oracle Database Examples on your computer to a location other than Oracle Database 11g Release 1 (11.1) Oracle home.
Download the Oracle Database Examples zip file (
Oracle Technology Network
Install Oracle Database Examples
You must install Oracle Database Examples in an existing Oracle Database 11g Release 1 (11.1) Oracle home.
To install Oracle Database Examples:
Log in as Administrator on the computer where Oracle Database is installed.
On Windows platforms, log in as a member of the Administrators group to the computer on which you want to install Oracle components.
If you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC), log on as a member of the Domain Administrators group.
Verify that the Oracle Database that you plan to use is accessible and running.
Navigate to the directory where you downloaded the installation files and run the following command to start Oracle Universal Installer:
On UNIX platforms:
On Windows platforms:
On the Welcome screen, click Next.
If this is the first installation of Oracle products on this UNIX system, then Oracle Universal Installer displays the Specify Inventory Directory and Credentials screen. Specify the following information, and then click Next:
Enter the full path of the inventory directory:
Verify that the path is similar to the following, where
oracle_base is the value you specified for the
ORACLE_BASE environment variable:
Specify operating system group name:
Verify that the group specified is the Oracle Inventory group,
On the Specify Home Details screen, enter the following:
Name: In this field, the default Oracle home is displayed. Verify that the Oracle home specified is the Oracle Database Oracle home.
Path: In this field, the directory of the default Oracle home is displayed. Enter the directory location of the Oracle Database Oracle home in which you want to install the Oracle home files.
See Also:"Access to Oracle Database" for information about finding the Oracle home
If Oracle Real Application Clusters (RAC) is installed in the Oracle home that you select, then Oracle Universal Installer displays the Selected Nodes screen. Click Next to continue.
Note:On an Oracle RAC installation, the software is installed on all the cluster nodes.
On the Product-specific Prerequisite Checks screen, check for and correct any errors that may have occurred while Oracle Universal Installer was checking your system.
When the installation completes, click Exit, and then click Yes to exit from Oracle Universal Installer.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at
Accessibility of Code Examples in Documentation
Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.
Accessibility of Links to External Web Sites in Documentation
This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.
TTY Access to Oracle Support Services
Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, seven days a week. For TTY support, call 800.446.2398.
Oracle Database Examples Installation Guide, 11g Release 1 (11.1)
Copyright © 2007, Oracle. All rights reserved.
The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be error-free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.