Oracle
1Z0-047 · Question #58
You need to create a table for a banking application with the following considerations: 1) You want a column in the table to store the duration of the credit period. 2) The data in the column should…
The correct answer is B. INTERVAL DAY TO SECOND. See the full explanation below for the reasoning.
Question
You need to create a table for a banking application with the following considerations: 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 3) date type data without using the conversion functions. 4) The maximum period of the credit provision in the application is 30 days. 5) 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?
Options
- AINTERVAL YEAR TO MONTH
- BINTERVAL DAY TO SECOND
- CTIMESTAMP WITH TIME ZONE
- DTIMESTAMP WITH LOCAL TIME ZONE
How the community answered
(39 responses)- A3% (1)
- B85% (33)
- C5% (2)
- D8% (3)
Community Discussion
No community discussion yet for this question.