ITPub博客

首页 > 数据库 > Oracle > Oracle timestamp_to_scn and scn_to_timestamp

Oracle timestamp_to_scn and scn_to_timestamp

原创 Oracle 作者:ysjxjf 时间:2009-04-16 12:16:18 0 删除 编辑
Oracle Function[@more@]
SQL> select to_timestamp('16-APR-09 05.37.34') from dual;
TO_TIMESTAMP('16-APR-0905.37.34')
---------------------------------------------------------------------------
16-APR-09 05.37.34.000000000 AM
SQL>

SQL> select dbms_flashback.get_system_change_number from dual;
GET_SYSTEM_CHANGE_NUMBER
------------------------
468561
SQL> select sysdate from dual;
SYSDATE
-------------------
2009-04-16 05:37:22
SQL> select systimestamp from dual;
SYSTIMESTAMP
---------------------------------------------------------------------------
16-APR-09 05.37.34.018235 AM +08:00

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/66634/viewspace-1020665/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: One Movie >
请登录后发表评论 登录
全部评论

注册时间:2008-04-24

  • 博文量
    376
  • 访问量
    3279025