顾美玲勾引管家|日韩黄色成人|国产精品theporn动漫|欧美日日日|国产精品探花在线

專業只做數據庫實訓和認證的品牌機構

微信公眾號新浪微博
免費咨詢電話:400-0909-964
當前位置: 網站首頁 > OCP認證 > 062考試題庫 > 【2019】OCP考試062題庫近期考試原題解析-第51題

【2019】OCP考試062題庫近期考試原題解析-第51題

文章來源: 更新時間:2019/5/27 15:52:47

在線老師點擊咨詢:

最新學訊:近期OCP認證正在報名中,因考試人員較多請盡快報名獲取最近考試時間,報名費用請聯系在線老師,甲骨文官方認證,報名從速!

我要咨詢

2018年的時候,OCP 11g考試題庫大更新,052 053出現了很多新題,

2019年,11g即將?嫉那捌冢琌racle又出現了一次大變動,12c出現了很多新題,比如062 063題庫大更新

OCP解析公開課時間:【每周五晚8點】

OCP解析公開課地址:http://ke.qq.com/course/326223

OCP解析群資料分享:1015267481 驗證:ocp

-------------------------------------------------------

51題、choose one

The HR. DEPARTMENTS table is the parent of the HR. EMPLOYEES table. The EMPLOYEES .

DEPARTMENT_ID column has a foreign key constraint with the ON DELETE CASCADE option that refers to the DEPARTMENTS. DEPARTMENT_ID column. An index exists on the DEPARTMENTS. DEPARTMENT_ID column. A transaction deletes a primary key in the DEPARTMENTS table, which has child rows in the EMPLOYEES table.

Which statement is true?

A) The transaction acquires a table lock on the DEPARTMENTS table. This lock enables other sessions to query but not update the DEPARTMENTS table until the transaction on the DEPARTMENTS table is complete.

B) The transaction acquires a table lock on the EMPLOYEES table. This lock enables other sessions to query but not update the EMPLOYEES table until the transaction on the DEPARTMENTS table is complete.

C) Only the rows that are deleted in the DEPARTMENTS and EMPLOYEES tables are locked until the transaction on the DEPARTMENTS table is complete.

D) The transaction acquires a table lock only on the DEPARTMENTS table until the transaction is complete.

Answer:C

(解析:這道題的關鍵點就是ON DELETE CASCADE選項,如果把父表的主鍵刪除(注意這里不是刪除主鍵約束),那么子表相對應的行也會被刪除,所以在刪除父表主鍵的時候,子表

是被鎖住的,目的是同時要刪除子表對應的行。因為oracle刪除行時是基于行級的鎖。試驗證明是可以刪除其它子表上的行。)

本文地址:http://www.mudan321.com/ocp/062kaoshitiku/21519317675.html 轉載請注明!


PostgreSQL入門到精通 100+ 個學習資料

Oracle培訓機構

金牌講師<>

冉乃綱-老師CUUG金牌講師
冉老師 CUUG金牌講師 Oracle及RedHat高級講師、Unix/Linux 資深專家...[詳細了解老師]

免費咨詢上課流程 客服在線中

陳衛星-老師CUUG金牌講師
陳老師 CUUG金牌講師 精通Oracle管理、備份恢復、性能優化 11年Ora...[詳細了解老師]

免費咨詢上課流程 客服在線中

選學校如何選擇適合自己的學校

CUUG -CHINA UNIX USER GROUP,是國際UNIX組織UNIFORUM的中國代表,是國內悠久的專業UNIX培訓機構,被譽為中國UNIX 的搖籃。多年來,以提高教學質量為本,強調素質教育,積極引進、消化國外的新技術,有效的結合中國....[詳情]

一站式服務(從入學到就業一幫到底)

入學

學習

就業

實操

食宿
地址:北京市海淀區田村山南路35號院17號樓
課程咨詢: 400-0909-964
企業服務:137 1818 8639(陳經理)
部分信息來源于網絡,如有錯誤請聯系指正!
版權所有@北京神腦資訊技術有限公司 (CUUG,中國UNIX用戶協會) Copyright 2016 ALL Rights Reserved 京ICP備11008061號-1