Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Sql Trace to detect concurrency issues
Jonathan Lewis wrote:
> You can then convert
> the SCN to a time with one of the utility packages
> (but I can't remember the name at present).
No packages required:
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 23 09:44:36 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> SELECT dbms_flashback.get_system_change_number
2 FROM dual;
GET_SYSTEM_CHANGE_NUMBER
831050
SQL> SELECT SCN_TO_TIMESTAMP(831050)
2 FROM dual;
SCN_TO_TIMESTAMP(831050)
TIMESTAMP_TO_SCN('23-JAN-0609.44.37.000000000AM')
831050
SQL>
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Mon Jan 23 2006 - 11:45:39 CST
![]() |
![]() |