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
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
相关文章推荐
- OCP 1Z0 051 QUESTION NO: 6
- OCP 1Z0 051 QUESTION NO: 32
- OCP 1Z0 051 QUESTION NO: 48
- OCP 1Z0 051 QUESTION NO: 56
- OCP 1Z0 051 QUESTION NO: 7
- OCP 1Z0 051 QUESTION NO: 33
- OCP 1Z0 051 QUESTION NO: 57
- OCP 1Z0 051 QUESTION NO: 8
- OCP 1Z0 051 QUESTION NO: 20
- OCP 1Z0 051 QUESTION NO: 34
- OCP 1Z0 051 QUESTION NO: 58
- OCP 1Z0 051 QUESTION NO: 9
- OCP 1Z0 051 QUESTION NO: 21
- OCP 1Z0 051 QUESTION NO: 35
- OCP 1Z0 051 QUESTION NO: 59
- OCP 1Z0 051 QUESTION NO: 10
- OCP 1Z0 051 QUESTION NO: 22
- OCP 1Z0 051 QUESTION NO: 36
- OCP 1Z0 051 QUESTION NO: 49
- OCP 1Z0 051 QUESTION NO: 60