/database/oracle/product/9i/Apache/Apache/bin/apachectl start: httpd
started
30 关闭 Oracle Web Server
$ cd $ORACLE_HOME/Apache/Apache/bin
$ ./stopJServ.sh
/database/oracle/product/9i/Apache/Apache/bin/apachectl stop: httpd
stopped
31 启动 Oracle Web Server 后默认的端口号是 7777
unix
cd $ORACLE_HOME/Apache/Apache/bin/
htpasswd $ORACLE_HOME/sqlplus/admin/iplusdba.pw admin
windows
cd D:oracleora92ApacheApachebin
htpasswd D:oracleora92/sqlplus/admin/iplusdba.pw admin
New password: *****
Re-type new password: *****
Adding password for user admin
32 pfile: $ORACLE_BASE/admin/实例名/Pfile
spfile: $ORACLE_HOME/dbs
监听器配置文件:listener.ora: $ORACLE_HOME/network/admin/
tnsnames.ora: $ORACLE_HOME/network/admin/
33 指定用户的表空间
SELECT DEFAULT_TABLESPACE FROM DBA_USERS WHERE USERNAME='用户名'
34 当前用户
select user from dual;show user
35 当前用户的缺省表空间
SELECT DEFAULT_TABLESPACE FROM DBA_USERS WHERE USERNAME=(select user
from dual);
37 显示正在使用的初始化参数文件
show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ---------------------
---------
spfile string %ORACLE_HOME%DATABASESPFILE%
ORACLE_SID%.ORA