Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Show error about 'ORA-08181: specified number is not a valid system change number' when using 'scn_t

Quanwen ZhaoAug 29 2017 — edited Oct 1 2017

Hello,

My oracle environment is DataGuard 11.2.0.1.0 on physical standby,when i use SQL query below,

SYS@standby> col current_scn for 9999999999999999

SYS@standby> select scn_to_timestamp(current_scn) from v$database;

select scn_to_timestamp(current_scn) from v$database

       *

ERROR at line 1:

ORA-08181: specified number is not a valid system change number

ORA-06512: at "SYS.SCN_TO_TIMESTAMP", line 1

and if not using function 'scn_to_timestamp' is OK,

SYS@standby> select current_scn from v$database;

            CURRENT_SCN

-----------------------

            12204021200

Why is it ? Please give me some suggestions,thanks!

Best Regards

Quanwen Zhao

This post has been answered by Quanwen Zhao on Sep 7 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 5 2017
Added on Aug 29 2017
10 comments
24,982 views