152.Examine the command:

用户锁定效果解析
本文解析了数据库中用户锁定命令的效果,特别强调了被锁定用户不能登录系统这一关键点,并指出其他用户仍能访问被锁定用户所拥有的对象,只要他们有相应的访问权限。
152.Examine the command:

SQL> ALTER USER skd ACCOUNT LOCK;

Which two statements are true after the command is executed? (Choose two.)
A.The SKD user cannot log in to the database instance.
B.The objects owned by the SKD user are not accessible to any user.
C.The other users can access the objects owned by the SKD user, on which they have access.
D.The password for the SKD user expires and the user is forced to change the password at the next log in.
答案:AC
解析:
A:正确,用户锁定了,该用户肯定是无法登陆系统了
B:错误,只是锁定了用户,并不是用户下的对象
C:正确
D:错误,用户锁定和密码过期是两个概念,对应的语句也是两个
  alter user username identified by password --修改密码
  alter user username account unlock;  --解锁
  alter user username identified by hr account unlock; --我们也可以一行  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值