Use database in oracle
- how to list databases in oracle sqlplus
- how to list databases in oracle
- how to list databases in sql plus
- how to list databases in oracle sql
Create database in oracle
Sqlplus show tables!
The SQL*Plus executable is usually installed in $ORACLE_HOME/bin, which is usually included in your operating system PATH environment variable. You may need to change directory to the $ORACLE_HOME/bin directory to start SQL*Plus.
In the following examples, you are prompted to enter the database account password.
An example using an Easy Connection identifier to connect to the HR schema in the MYDB database running on mymachine is:
sqlplus hr@\"//mymachine.mydomain:port/MYDB\"An example using a Net Service Name is:
sqlplus hr@MYDBNet Service Names can be stored in several places, including Oracle Names.
See the Net Services Reference Guide for more information.
If you want to use Net Service Names configured in a local Oracle Net tnsnames.ora file, then set the environment variable TNS_ADMIN to the directory containing the tnsnames.ora file.
For example, on UNIX, if your tnsnames.ora file is in /home/user1 and it defines the Net Service Name MYDB2:
TNS_ADMIN=/home/user1 export TNS_ADMIN sqlplus hr@MYDB2This example assumes the ORACLE_HOME environment variable is set, and th