OCP-1Z0-新051-61题版本-28
2013-12-29 00:04
447 查看
QUESTION NO: 28
Which two statements are true regarding working with dates? (Choose two.)
A. The default internal storage of dates is in the numeric format
B. The RR date format automatically calculates the century from the SYSDATE function but allows
the user to enter the century if required
C. The default internal storage of dates is in the character format
D. The RR date format automatically calculates the century from the SYSDATE function and does
not allow the user to enter the century
Answer: A,B
答案解析:
参考:80:/article/1348264.html
Explanation:
Working with Dates
The Oracle Database stores dates in an internal numeric format, representing the century, year, month, day, hours, minutes, and seconds.
The default display and input format for any date is DD-MON-RR.
RR Date Format
The RR date format is similar to the YY element, but you can use it to specify different centuries.
Use the RR date format element instead of YY so that the century of the return value varies according to the specified two digit year and the last two digits of the current year. The table in the slide summarizes the behavior of the RR element.
untitled
Note the values shown in the last two rows of the above table. As we approach the middle of the
century, then the RR behavior is probably not what you want.
This data is stored internally as follows:
CENTURY YEAR MONTH DAY HOUR MINUTE SECOND 19 87 06 17 17 10 43
Which two statements are true regarding working with dates? (Choose two.)
A. The default internal storage of dates is in the numeric format
B. The RR date format automatically calculates the century from the SYSDATE function but allows
the user to enter the century if required
C. The default internal storage of dates is in the character format
D. The RR date format automatically calculates the century from the SYSDATE function and does
not allow the user to enter the century
Answer: A,B
答案解析:
参考:80:/article/1348264.html
Explanation:
Working with Dates
The Oracle Database stores dates in an internal numeric format, representing the century, year, month, day, hours, minutes, and seconds.
The default display and input format for any date is DD-MON-RR.
RR Date Format
The RR date format is similar to the YY element, but you can use it to specify different centuries.
Use the RR date format element instead of YY so that the century of the return value varies according to the specified two digit year and the last two digits of the current year. The table in the slide summarizes the behavior of the RR element.
untitled
Note the values shown in the last two rows of the above table. As we approach the middle of the
century, then the RR behavior is probably not what you want.
This data is stored internally as follows:
CENTURY YEAR MONTH DAY HOUR MINUTE SECOND 19 87 06 17 17 10 43
相关文章推荐
- OCP-1Z0-新051-61题版本-27
- OCP-1Z0-新051-61题版本-26
- OCP-1Z0-新051-61题版本-25
- eclipse如何导入sql server2005中的jar包
- 动态规划:从新手到专家
- OCP-1Z0-新051-61题版本-24
- OCP-1Z0-新051-61题版本-23
- OCP-1Z0-新051-61题版本-22
- OCP-1Z0-新051-61题版本-21
- 问佛 --仓央嘉措
- 1
- 经典数据结构之二叉树
- 学计算机必读
- ubuntu12.04安装嵌入式开发环境
- Java学习笔记----------------RMI操作
- [原]项目进阶 之 持续构建环境搭建(四)Jenkins环境搭建
- J2EE学习中一些值得研究的开源项目
- 过年老家来亲戚,才知道月挣3万仍是穷逼
- javascript轻松实现当鼠标移开时已弹出子菜单自动消失
- js data日期初始化的5种方法