OCP 1Z0 051 158

来源:互联网 发布:手机格式化后数据恢复 编辑:程序博客网 时间:2024/06/01 19:10
158. Which statements are true regarding the FOR UPDATE clause in a SELECT statement? (Choose all 
that apply.) 
A. It locks only the columns specified in the SELECT list. 
B. It locks the rows that satisfy the condition in the SELECT statement. 
C. It can be used only in SELECT statements that are based on a single table. 
D. It can be used in SELECT statements that are based on a single or multiple tables. 
E.  After   it  is  enforced  by  a  SELECT  statement,  no  other  query  can  access  the  same  rows  until  a 
COMMIT or ROLLBACK is issued. 

见上一节
http://blog.csdn.net/jgmydsai/article/details/27846329

1、整行锁定
2、也可以锁定多个表
3、锁定当前过滤条件过滤出来的行
4、oracle读不等写,写不等读。锁定的行不会限制其它会话的读取。

Answer: BD 
0 0
原创粉丝点击