方法一:(注意必须用双引号把后面的引上)
C:/Documents and Settings/ssy>sqlplus sys/system@test_192.168.80.38 as sysdba
SQL*Plus: Release 9.2.0.1.0 - Production on 星期一 3月 17 18:01:41 2008
Copyright (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 /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期一 3月 17 17:59:08 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/system@test_192.168.80.38 as sysdba 已连接。
SQL> quit
本文介绍了两种使用SQL*Plus连接Oracle数据库的方法。方法一:直接通过命令行指定用户名、密码及数据库实例。方法二:先启动SQL*Plus无登录模式,再进行连接。这两种方法适用于不同场景。

1464

被折叠的 条评论
为什么被折叠?



