第一种: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>