22. You need to create a table for a banking application. One of the columns in the table has the following
requirements:
1) You want a column in the table to store the duration of the credit period.2) The data in the column should be stored in a format such that it can be easily added and subtracted
with
DATE data type without using conversion functions.
3) The maximum period of the credit provision in the application is 30 days.
4) The interest has to be calculated for the number of days an individual has taken a credit for.
Which data type would you use for such a column in the table?
A. DATE
B. NUMBER
C. TIMESTAMP
D. INTERVAL DAY TO SECOND
E. INTERVAL YEAR TO MONTH
Answer: D
答案解析:
参考:http://blog.csdn.net/rlhua/article/details/12905109
题意要求

本文探讨了在银行应用中为存储信用周期持续时间的表列选择最佳数据类型的问题,包括日期格式的加减操作、最大期限限制以及按天计算利息的需求。

5391

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



