Installing Oracle Express
Download Oracle express from
http://www.oracle.com/technology/software/products/database/xe/index.html
or from instructors web site
There is an interactive tutorial on how to install Oracle Express
Click the following link
http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm
click this link to jump directly to installation.
Choose installation for windows if you are using windows, and installation for linux if
you are using linux.
http://st-curriculum.oracle.com/tutorial/DBXETutorial/html/module1/les01_install_showme.htm
Connecting SQL Developer to Oracle Express 10g
Download SQL Developer from
http://www.oracle.com/technology/software/products/sql/index.html
or from instructors website
1. Unzip Oracle developer file.
2. No installation needed to run SQL developer, just unzip the files and
3. Run SQL Developer by clicking on sqldeveloper.exe
1
4. Create a new connection by right click on Connections object on the left panel,
and click New Connection
2
5. Fill out the Connection Name with xe , xe is the default name for oracle
Express database
6. Fill out Username with sys , NOT system
7. Fill out the password with your password when you installed Oracle Express
8. Click Role and choose SYSDBA
9. Make sure SID is xe
10. Make sure hostname is localhost
11. Click Test to test the connection , you should see the status is success
3
12. Click Connect when done, you will the the following screen
4
How to create users
The user name you are using is SYS , which is a system users.
If you expand Tables object on the left, you will see a lot of system tables.
For this course, you can create a separate user to store all your tables related with this
course.
The following steps show how to create users
1. Right click on the Other Users object at the left, choose Create users
5
2. You will see the following screen. Enter a user name of your choice, and the
password
6
3. Click Roles tab , click Grant All and then click Apply
7
4. After you click Apply, the following screen will appear
5. After all GRANT commands are executed, click Close
8
6. Disconnect the connection by clicking the connection name (xe) and then
choose disconnect
9
7. After disconnected, right click on xe object, choose connect
8. Enter the user name and password you have just created
9. You are ready to execute SQL commands
10