(0) Preparation
(1) Install
qwe123!@#
Destination Folder: C:\oraclexe\
Oracle Home: C:\oraclexe\app\oracle\product\11.2.0\server\
Oracle Base:C:\oraclexe\
Port for 'Oracle Database Listener': 1521
Port for 'Oracle Services for Microsoft Transaction Server': 2030
Port for 'Oracle HTTP Listener': 8080
In the start menu, select Get Started.
Run SQL
SQL> connect Administrator as SYSDBA
Enter password:
Connected.
SQL>
Execute SQL
from a file:
(Assuming the file is located at Z:\SETUP\JDBC_OBE\)
SQL> @Z:\SETUP\JDBC_OBE\testds_oracle.sql
Login as specific user
SQL> CONNECT DBTESTER/welcome1
Connected.
View data created by a specific user
SQL> SELECT * FROM WLS_CLIENT_INFO;
CLIENT_ID
-----------------------------------------
NAME
-----------------------------------------
-----------------------------------------
id2
Homer Sampson
homer.sampson@gmail.com
CLIENT_ID
-----------------------------------------
NAME
-----------------------------------------
-----------------------------------------
id3
Elmer Fuddly
e_fudd@example.com
CLIENT_ID
-----------------------------------------
NAME
-----------------------------------------
-----------------------------------------
id4
Dude McDude
dm@dm.com
.
More Examples:
https://www.oracletutorial.com/
No comments:
Post a Comment