x
login about faq Site discussion (meta-askssc)

System Change Numbers (SCN) on 9i, 10g

I want to know how to get the SCN numbers in Oracle 9i and 10g. Please let me know if you have the answer.

more ▼

asked Dec 21 '09 at 08:51 AM in Default

OracleApprender gravatar image

OracleApprender
763 53 67 73

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

The current SCN can be retrieved by querying the V$DATABASE view.

more ▼

answered Dec 21 '09 at 10:58 AM

HillbillyToad gravatar image

HillbillyToad
1k 2

Do you have any idea to get the same in the query format ?

Dec 21 '09 at 12:16 PM OracleApprender

Thank you for your quick response

Dec 21 '09 at 12:17 PM OracleApprender

you mean like 'SELECT * FROM V$DATABASE'?

Dec 21 '09 at 12:35 PM HillbillyToad

Yes. I want it in SELECT query format.

Dec 21 '09 at 01:49 PM OracleApprender
(comments are locked)
10|1200 characters needed characters left

Answer for this question is :

select sys.dbms_flashback.get_system_change_number from dual;

more ▼

answered Dec 22 '09 at 07:01 AM

OracleApprender gravatar image

OracleApprender
763 53 67 73

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x599
x359

asked: Dec 21 '09 at 08:51 AM

Seen: 1221 times

Last Updated: Dec 22 '09 at 11:32 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.