【優技教育】Oracle 19c OCP 082題庫(Q 8題)- 2024年修正版
考試科目:1Z0-082
考試題量:90
通過分數:60%
考試時間:150min
本文為(CUUG 原創)整理并解析,轉發請注明出處,禁止抄襲及未經注明出處的轉載。
原文地址:http://www.cuug.com.cn/ocp/082kaoshitiku/38167699730.html
第8題:
8、Choose two.
Examine this statement:
CREATE TABLE employees
(emp_id NUMBER(5) PRIMARY KEY,
ename VARCHAR2 (15) ,
email VARCHAR2(40) UNIQUE,
address LONG ,
resume LONG,
dept_id NUMBER(3) CONSTRAINT emp_dept_id_fk REFERENCES departments (dept_id) ,
CONSTRAINT ename_nn NOT NULL
);
Which two things must be changed for it to execute successfully?
A) The NOT NULL constraint on ENAME must be defined at the column level instead of the table level.
B) The foreign key constraint on DEPT_ID must be defined at the table level instead of the column level.
C) One of the LONG columns must be changed to a VARCHAR2 or CLOB.
D) The word CONSTRAINT in the foreign key constraint on DEPT_ID must be changed to FOREIGN KEY.
E) The primary key constraint on EMP_ID must have a name.
Answer:AC
(解析:非空約束必須在列級聲明;實驗證明一張表只能有一個 long 數據類型的列,但是可以有多個 clob 數據類型的類,這一點需要注意;列級定義外鍵約束的時候無需 foreign key 關鍵字。)
Oracle 19c OCP認證需要到Oracle指定的WDP機構,有了培訓記錄之后才能考試,考試需要考2科,分別是082(60%及格)和083(57%及格),兩科都通過之后才能拿到證書。證書如下:
CUUG是甲骨文的金牌WDP合作機構,30多年品牌,培養了數萬名數據庫人才。想快速通過19c OCP考試的同學可以掃碼聯系老師咨詢。