当前位置: Oracle DBA培训网-优技培训 >> 071题库 >

【071题库】最新OCP-071考试题库解析-第56题

【071题库】最新OCP-071考试题库解析-第56题

071考试是OCP考试科目的一种,由于071考题多变,我们专门收集整理了最新的考试题库,并对这些考题进行讲解,希望可以帮助广大考生。

每周五晚8点,我们有免费的OCP解析公开课,地址:https://ke.qq.com/course/326223  OCP题库交流群:1015267481,验证ocp

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

071题库-第56题、choose the best answer:

You need to create a table with the following column specifications:

1. Employee ID (numeric data type) for each employee

2. Employee Name (character data type) that stores the employee name

3. Hire date, which stores the date of joining the organization for each employee

4. Status (character data type), that contains the value 'ACTIVE' if no data is entered

5. Resume (character large object [CLOG] data type), which contains the resume submitted by the employee

Which is the correct syntax to create this table?

A) CREATE TABLE 1_EMP

(emp_id NUMBER (4) ,

emp_name VARCHAR2(25),

start_date DATE,

emp_tatus VARCHAR2(10) DEFAULT 'ACTIVE',

resume CLOB);


B) CREATE TABLE EMP_1

(emp_id NUMBER,

emp_name VARCHAR2(25),

start_date DATE,

emp_status VARCHAR2(10) DEFAULT 'ACTIVE',

resume CLOB);


C) CREATE TABLE EMP_1

(emp_id NUMBER (4) ,

emp_name VARCHAR2(25),

start_date DATE,

e_status VARCHAR2(10) DEFAULT 'ACTIVE',

resume CLOB(200));


D) CREATE TABLE EMP_1

(emp_id NUMBER (4) ,

emp_name VARCHAR2(25),

start_date DATE,

emp_status VARCHAR2(10) DEFAULT "ACTIVE",

resume CLOB);

Answer:B

(解析:A 答案错误是因为表名字第一个必须是字符,不能是数字;D 答案错误是因为字符要用单引号;C答案错误是大对象类型不能指定长度)

技术沙龙MORE+

标签错误:<!-- #Label# labelId=20160707140604 moduleId=1 classId=12231768634 orderby=2 fields=url,title,u_info attribute= datatypeId=22192428132 recordCount=3 pageSize= <htmlTemplate><dt><img src="/images/index_26${index}.jpg" width="100" height="62" /><a href="$url" title="${title}">${title}</a><span>${api.left(u_info,60)}</span></dt></htmlTemplate> -->
我要参加技术沙龙