QUIT WINDOWS, IT SEVERELY HARMS HEALTH OF YOUR COMPUTER!
COMPUTERS RUNNING WINDOWS DIE YOUNG!
Oracle XE
- If necessary, uninstall all the previous Oracle XE (even better - other Oracle database products). Environment variable ORACLE_HOME should not be defined; ports 8080 and 1521 should be free. Stop various network-related services (e.g. Skype). To detect those processes, which use up the ports, one can use "netstat -an" (plus a "Task Manager" that is configured to display process numbers) or a more user-friendly utility - custom.recipes.Tcpview_en).
- Run the file OracleXEUniv.exe pick "Typical" installation and all defaults.
- For educational environment "System" user may have password "system".
Checking the installation
- Open Start -> Oracle Database 10g Express Edition -> Run SQL Command Line
Write the following command:
connect system/system
Connecting to a database on another server
Edit the tnsnames.ora file (on a typical Windows OracleXE installation it is located here: c:/oraclexe/app/oracle/product/10.2.0/server/NETWORK/ADMIN/). Add the following fragment:
VIS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle.riga.accenture.com)(PORT = 1524))
)
(CONNECT_DATA =
(SID = VIS)
(PRESENTATION = RO)
)
)- Open SQL Command Line window - Start -> All Programs -> Oracle Database 10g Express Edition -> Run SQL Command Line
Connect by using this command:
connect myusername/mypassword@VISCreate a new table in your schema by using the "CREATE TABLE" SQL command:
CREATE TABLE mytable (NAME VARCHAR(255));Check that the newly created table is visible, list its fields and delete it:
SELECT object_name FROM user_objects WHERE object_type='TABLE';
DESCRIBE mytable;
DROP TABLE mytable;
Tags
Windows
English
Created by Valdis Vītoliņš on 2013-09-08 14:09
Last modified by Valdis Vītoliņš on 2021-04-13 14:30
Created by Valdis Vītoliņš on 2013-09-08 14:09
Last modified by Valdis Vītoliņš on 2021-04-13 14:30