Click ORACLE DATABASE 10g EXPRESS EDITION FOR MICROSOFT WINDOWS.. Under Oracle Database 10g Express Edition Western European, click ORACLEXE.EXE.. The primary application in this directo
Trang 13 Click the FREE DOWNLOAD button.
4 Click ORACLE DATABASE 10g EXPRESS EDITION FOR MICROSOFT WINDOWS
5 Click ACCEPT LICENSE AGREEMENT
6 Under Oracle Database 10g Express Edition (Western European), click ORACLEXE.EXE
7 You may then be asked a series of questions, asking if you want allow various procedures to execute Respond RUN to all questions
8 If you don’t have an account with Oracle, click SIGN UP NOW Otherwise, enter your username and password and then enter personal information
9 When asked if you want to run or save the file, select the RUN button The install setup wizard will then start
10 On the Welcome screen, click the NEXT button
11 On the License screen, click ACCEPT and then the NEXT button
12 On the Destination screen, click the NEXT button
13 On the Database Passwords screen, enter a password
14 On Summary screen, click INSTALL
15 After the install completes, click the FINISH button
After this has completed, you will have the following software installed: Oracle Database 10g Express Edition
The interface to the database is Web based The various features are accessible under the Start menu under the Oracle Database 10g Express directory The primary application in this directory that you’ll want to use is Go To Database Home Page
After the initial install, you will be taken to a Database Login screen on the Database Home Page This is the same page you would enter by selecting GO TO DATABASE HOME PAGE under the Oracle Database 10g Express Edition directory under the Start menu
Appendix C ■ Getting Started with Oracle
226
Trang 2After going to this Database Home Page, enter the user name SYSTEM and the
password you created; then click the LOGIN button
Using Oracle Database Express Edition
To gain access to the Oracle database, run the GO TO DATABASE HOME PAGE
program under the Oracle Database 10g Express Edition directory in the start
menu This will open up a Web-based application, which will allow you to
interface with the database
To sign on, enter a username of SYSTEM, the password you specified during the
install, and then click the LOGIN button
You will then see four icons representing different functionalities:
Administra-tion, Object Browser, SQL, and Utilities To execute SQL, click the SQL icon
You will then see three icons: SQL Commands, SQL Scripts, and Query Builder
If you want to execute a single SQL statement, you can use the SQL Commands
icon This will allow you to execute a single command and see any results If you
enter multiple SQL statements, you can highlight one individual statement and
execute only the highlighted portion To execute a SQL statement in the SQL
Commands window, click the RUN button
If you want to execute multiple SQL statements, but you don’t need to see the
output, you can use the SQL Scripts icon After selecting this icon, you can either
create a new script or edit an existing script To create a new script, click the
CREATE button and then name the script and enter the statements you want in
that script To execute, click the RUN button After you enter the request, it will
ask for a confirmation to do the run Click the RUN button again You will then
be able to see a summary of your script execution by clicking on the icon under
the View Results column
Oracle provides complete online documentation on their database Their
reference manuals are currently at:
http://www.oracle.com/pls/db112
Using Oracle Database Express Edition 227
Trang 3This page intentionally left blank
Trang 4appendix D
Listing of All SQL
Statements
A listing of all SQL statements in this book can be found on this Cengage Web site: www.courseptr.com/downloads
These three files are provided:
■ SQL Statements and Data for SQL Server.doc
■ SQL Statements and Data for MySQL.doc
■ SQL Statements and Data for Oracle.doc
These three files list all SQL statements in the book for each of the three databases covered Additionally, these files contain SQL scripts that allow you to create all the data used in the book After running the setup scripts, you can execute any statement in the book and see the same output shown in the book
Specific instructions on how to execute the setup scripts are provided in each of the files
229
Trang 5This page intentionally left blank