您的位置:首页 > 产品设计 > UI/UE

OCP 1Z0 051 QUESTION NO: 61

2014-06-04 17:00 363 查看
QUESTION NO: 61

You created an ORDERS table with the following description:

name Null Type

ORD_ID NOT NULL NUMBER(2)

CUST_ID NOT NULL NUMBER(3)

ORD_DATE NOT NULL DATE

ORD_AMOUNT NOT NULL NUMBER (10,2)

You inserted some rows in the table. After some time,

You inserted some rows in the table. After some time, you want to alter the table by creating the

PRIMARY KEY constraint on the ORD_ID column.

Which statement is true in this scenario?

A. You cannot add a primary key constraint if data exists in the column

B. You can add the primary key constraint even if data exists, provided that there are no duplicate

values

C. The primary key constraint can be created only a the time of table creation

D. You cannot have two constraints on one column

Answer: B

与正式题库34重复

/article/8014235.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: