24. Examine the structure proposed for the TRANSACTIONS table:
name Null Type
TRANS_ID NOT NULL NUMBER(6)
CUST_NAME NOT NULL VARCHAR2(20)
CUST_STATUS NOT NULL VARCHAR2
TRANS_DATE NOT NULL DATE
TRANS_VALIDITY INTERVAL DAY TO SECOND
CUST_CREDIT_VALUE NUMBER(10)
Which two statements are true regarding the storage of data in the above table structure? (Choose two.)
A. The TRANS_DATE column would allow storage of dates only in the dd-mon-yyyy format.
B. The CUST_CREDIT_VALUE column would allow storage of positive and negative integers.
C. The TRANS_VALIDITY column would allow storage of a time interval in days, hours, minutes, and
seconds.
D. The CUST_STATUS column would allow storage of data up to the maximum VARCHAR2 size of 4,000
characters.
Answer: BC

本文详细解析了数据库中事务表的结构,并针对每个字段的数据存储特性进行了深入探讨,包括日期格式、数值存储范围及有效性间隔,以及字符数据的存储限制。

4万+

被折叠的 条评论
为什么被折叠?



