Exam 1z0-071 All QuestionsBrowse all questions from this exam
Question 78

You have been tasked to create a table for a banking application.

One of the columns must meet three requirements:

1) Be stored in a format supporting date arithmetic without using conversion functions

2) Store a loan period of up to 10 years

3) Be used for calculating interest for the number of days the loan remains unpaid

Which data type should you use?

    Correct Answer: A

    The correct data type to use is INTERVAL YEAR TO MONTH. This data type allows for storing a period of time in terms of years and months, which is critical for handling a 10-year loan period. It also supports date arithmetic directly without requiring conversion functions, and facilitates calculating interest for each day a loan remains unpaid by enabling the precise calculation of dates and durations.

Discussion
Misi_OracleOption: C

C is correct because it fulfill all the condition. 1) store without conversion 2) store up to 99 years and 11 month 3) can be use for calculation

archit4321Option: A

The INTERVAL DAY TO SECOND data type is used to store a period of time in terms of days, hours, minutes, and seconds. It does not support storing a loan period of up to 10 years, as it does not have a year component. To meet the requirements of storing a loan period of up to 10 years and supporting date arithmetic without using conversion functions, you should use the INTERVAL YEAR TO MONTH data type instead. This data type allows you to store a period of time in terms of years and months, which aligns with the requirement of storing a loan period.

oblitiusOption: C

ChatGPT came back with C (INTERVAL DAY TO SECOND): -This data type stores a period of time in terms of days, hours, minutes, and seconds. -It supports date arithmetic and can precisely represent the number of days a loan remains unpaid, making it suitable for calculating daily interest. -This seems like the most appropriate choice for the given requirements. Based on the analysis: The most appropriate choice is C. INTERVAL DAY TO SECOND because it fulfills all the requirements. Options A, B, D, and E are not suitable because they either don't consider the number of days specifically (A) or represent specific points in time rather than durations (B, D, E). -------- Please correct me if I'm wrong.

ESZOption: A

ChatGPT comes back with INTERVAL YEAR TO MONTH

obsyOption: B

B is correct

Izzicertificacion

¿porque es correcto?

dilshodOption: C

C is correct

TheOracleWasTaken

but why?