启用scott用户
启用用户的语句
alter user username account unlock
alter user scott account unlock
使用scott用户登录SQL plus
scott 是默认用户,默认是锁定的
alter user username account 解锁命名
username----用户名
alter user username account unlock;
alter user username account lock;
example:alter user scott account unlock;
connect scott/tiger tiger 为默认密码
connect 是命令,不是sql语句,所以不用分号结尾
sql语句必须分号结尾
命令不需分号结尾
启用scott用户
.启用用户的语句 alter user username(要解锁的用户名) account unlock;
登录scott用户
启用scott用户
.启用用户的语句 alter user username(要解锁的用户名) account unlock;
登录scott用户
(1)启用用户的语句
alter user username account unlock
例子对scott用户解锁
alter user scott account unlock;
(2)使用scott用户登录SQL Plus
connect scott/tiger;
alter user scott account unlock 解锁用户
启用 scott 用户
启用scott用户
启用用户的语句
alter user username account unlock;
使用scott用户登录SQL PLUS
connect scott/tiger;
启用scott用户
alter user username account unlock ;
conn scott/tiger
解锁用户
alter user 用户名 account unlock;
锁定用户
alter user 用户名 account lock;
启用用户的语句:alter user username account unlock
启用用户的语句
alter user username account unlock
# 启用用户 alter user username account unlock; #启用scott用户 alter user scott account unlock #连接scott用户 connect scott/密码 #查看所连接的用户 show user
启用soctt用户
alter user scott account unlock;
connect scott/tiger
show user
启用用户语句
alter user username account unlock(解锁)
用户登录
例,scott:登录进sqlplus中
alter user scott account unlock;
connect scott
启用scott用户
二、启用scott用户(默认锁定)
alter user {username} account unlock;
connect scott/tiger (登录)
show user;
要先登录sqp plus后才能解锁scott用户
SQL> alter user scott account unlock;
启用Scott用户
alter user username account unlock;
锁定Scott用户
alter user username account lock;
登录Scott用户
connect scott/password
查看当前登录用户
show user
ddddwqqee
启用用户的语句:alter user username accout unlock;
启用用户的语句
alter user username account unlock;
锁定用户的语句
alter user username account lock;
使用Scott账户登录
conn scott/tiger
启用scott用户(默认用户之一):scott用户默认情况下是被锁定的,如果想使用scott,需要进行解锁,也就是启用scott用户。
启用用户语法:alter user username accout unlock;
使用scott用户登陆sqlplus:如下图,connect属于一个命令,可以不写分号。
scott用户也是默认用户,默认情况下是锁定的
启用用户语句
alter user username account unlock/lock
要使用普通用户首先得对用户进行解锁,也就是启动用户。
启动用户的语句
alter user username account unlock;
例:alter user scott account unlock;
使用scott用户登录SQL Plus
connet scott/tiger