Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8585053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:57:59+00:00 2026-06-11T21:57:59+00:00

I’m currently doing some re-engineering work as I’m now unable to get information on

  • 0

I’m currently doing some re-engineering work as I’m now unable to get information on the logic of a internal system, which was built in India (outsourcing).

In this process it would really help me if I was able to somehow determine the order in which records of a specific table was inserted (and possible updated). For some reason there has not been added any timestamp that unambiguously uncovers this, so what I’m looking for is some hidden Oracle RDBMS index/timestamp and how to get it. I guess the order in which records are returned using a select all is not random, so I guess there must be somekind of order.

I am hoping to be able to refer to this index/timestamp in the select so that it is returned as a field in a recordset. Is this possible, and how do I do it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:58:00+00:00Added an answer on June 11, 2026 at 9:58 pm

    By default, Oracle isn’t going to track this sort of thing. You would need some sort of audit table, a column in the table, an audit log, etc. to properly retrieve this sort of information.

    Assuming that you are using a reasonably recent version of Oracle (10.2 or later, certainly), the ORA_ROWSCN pseudocolumn may be close enough. This is an upper bound on the system change number (SCN) that the row was last modified. Unless the table was built with ROWDEPENDENCIES enabled, however, the ORA_ROWSCN is only tracked at the block level, not at the row level. That may be close enough if you assume that all rows in a block are inserted at roughly the same point in time. Of course, that is not going to be perfect– particularly in the case where rows were deleted from a block and a subsequent insert at a much later point in time filled up the space that DELETE operation freed up. If you happen to get really lucky, though, the table was built with ROWDEPENDENCIES enabled and ORA_ROWSCN will give you the SCN where the row was last modified (inserted or updated).

    The SCN_TO_TIMESTAMP function can be used to convert an SCN to a timestamp but only for a relatively limited period of time (generally a matter of days) and with a limited level of granularity (+/- either 5 minutes or 3 seconds depending on the Oracle version). That’s used in most of the examples of using the ORA_ROWSCN but, unfortunately, probably isn’t going to be terribly helpful for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported
I would like to run a str_replace or preg_replace which looks for certain words

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.