(转)oracle 10g中SCN和timestamp转换
2008-07-30 12:32
447 查看
首先通过dbms_flashback.get_system_change_number 可以获得系统当前的SCN值:
5223711
再通过SCN找出其时间
select scn_to_timestamp(5223711) scn from dual;
SQL> col scn for 9999999999999
SQL> select dbms_flashback.get_system_change_number scn from dual;
SCN
SQL> select dbms_flashback.get_system_change_number scn from dual;
SCN
5223711
再通过SCN找出其时间
select scn_to_timestamp(5223711) scn from dual;
相关文章推荐
- (转)oracle 10g中SCN和timestamp转换
- (转)oracle 10g中SCN和timestamp转换
- oracle SCN跟TIMESTAMP之间转换
- Oracle 10g中SCN与TimeStamp的斗转星移
- oracle SCN跟TIMESTAMP之间转换
- Oracle_学习笔记_转换SCN
- Oracle 字符串转换TIMESTAMP类型或Date类型
- How to map SCN with Timestamp before 10g [ID 365536.1]
- Oracle 10g数据库转换到Mysql
- Oracle10g中SCN与TimeStamp的相互转换
- Oracle10g中SCN与TimeStamp的相互转换
- Oracle中数据类型Timestamp转换成Date
- Oracle10g中SCN与TimeStamp的相互转换
- How to map SCN with Timestamp before 10g [ID 365536.1]
- How to map SCN with Timestamp before 10g [ID 365536.1]
- Oracle SCN与Timestamp之间的关系
- Oracle中,将毫秒数转换为timestamp类型的两种方法
- 笔记一个oracle timestamp的转换类
- Oracle 10g 行列转换(从SQL Server 2000迁移)
- How to map SCN with Timestamp before 10g [ID 365536.1]