教学文章
Technology Exchange
400电话

免费咨询热线
400-090-9964

教学文章

【优技教育】Oracle 19c OCP 082题库(第8题)- 2024年修正版

时间:2024-09-04 来源:

【优技教育】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考试的同学可以扫码联系老师咨询。