您的位置:首页 > 数据库 > Oracle

使用SQLPlus连接Oracle实例

2014-04-21 15:13 239 查看
使用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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: