SQL*Plus: Release 9.2.0.1.0 - Production on 星期一 3月 17 18:01:41 2008Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.连接到: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release 9.2.0.1.0 - Production
方法二:
C:/Documents and Settings/ssy>sqlplus /nologSQL*Plus: Release 9.2.0.1.0 - Production on 星期一 3月 17 17:59:08 2008Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/system@test_192.168.80.38 as sysdba 已连接。
SQL> quit
总结——sqlplus有几种登陆方式 比如:
1.C: > sqlplus "/as sysdba" --以操作系统权限认证的oracle sys管理员登陆
2.C: > sqlplus /nolog --不在cmd或者terminal当中暴露密码的登陆方式
SQL> conn /as sysdba
&
SQL> conn sys/password as sysdba
3.C: > sqlplus scott/tiger --非管理员用户登陆
4.C: > sqlplus scott/tiger@orcl --非管理员用户使用tns别名登陆
5.C: > sqlplus sys/password@orcl as sysdba --管理员用户使用tns别名登陆
6.C: > sqlplus --不显露密码的登陆方式
Enter user-name:sys
Enter password:password as sysdba --以sys用户登陆的话 必须要加上 as sysdba 子句