跳至侧栏

使用SQLPlus连接Oracle实例

 

使用Windows徽标+R,打开运行对话框,输入cmd并回车。

Microsoft Windows [版本 6.1.7601] 版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\user>

在CMD窗口中输入SQLPlus user/password@ipaddress:port/dbinstance,并回车。其中ipaddress前可以加//,当Oracle使用默认端口1521时,:port可以省略。

C:\Users\user>sqlplus hr/hr@192.168.1.47:1521/orcl

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 4月 21 15:10:35 2014

Copyright (c) 1982, 2010, Oracle. All rights reserved.

连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

With the Partitioning, OLAP and Data Mining options

SQL>

 

posted @ 2014-04-21 15:13  Candyメ奶糖  阅读(801)  评论(0编辑  收藏  举报