Window下通过cmd登录Oracle的两种方式

您所在的位置:网站首页 sqlplus登陆管理员 Window下通过cmd登录Oracle的两种方式

Window下通过cmd登录Oracle的两种方式

2023-08-23 16:59| 来源: 网络整理| 查看: 265

第一种:SQLplus的登录方式

C:\Users\Y2>sqlplus

SQL*Plus: Release 11.2.0.1.0 Production on 星期五 4月 24 16:41:19 2020

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

请输入用户名:  sys as sysdba 输入口令:

连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select  1 from dual;

         1 ----------          1

SQL> 从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开

第一种:SQLplus  /nolog的登录方式

C:\Users\Y2>sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on 星期五 4月 24 16:42:05 2020

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

SQL> select  1 from dual; SP2-0640: 未连接 SQL> connect  as sysdba; 请输入用户名:  sys 输入口令: 已连接。 SQL> select  1 from dual;

         1 ----------          1

SQL>



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3