1. oracle登录
(1)运行sqlplus工具
c:\users\wd-pc>sqlplus
(2)直接进入sqlplus命令提示符
c:\users\wd-pc>sqlplus /nolog
(3)以os身份连接
c:\users\wd-pc>sqlplus / as sysdba 或
sql>connect / as sysdba
(4)普通用户登录
c:\users\wd-pc>sqlplus scott/123456 或
sql>connect scott/123456 或
sql>connect scott/123456@servername
(5)以管理员登录
c:\users\wd-pc>sqlplus sys/123456 as sysdba 或
sql>connect sys/123456 as sysdba
(6)切换用户
sql>conn hr/123456
注:conn同connect
(7)退出
exit