Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Balanandam.

Asked: October 28, 2020 - 8:06 pm UTC

Last updated: November 03, 2020 - 1:55 am UTC

Version: 12.x

Viewed 1000+ times

You Asked

Hi Tom,

How can we get data from a table at the time query initiated ? assume, my table is very big and the query i'm using to get the data taking long time, mean while, there might be some records got updated, but, I wanted to see the result as is at the time of query initiated.

Thanks in advance!

and Connor said...

That is *always* the case for Oracle. There is nothing you need to do.

When you start a query, the results are immediately "pre-ordained" - they'll be as they were as the query started, no matter what changes occur whilst its running

Here's a couple of video that walk through the internals and the reason its good to know about it





Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Thank you!

A reader, November 02, 2020 - 8:56 am UTC

Thanks Connor! it's really helped me to understand the things behind the scenes.

Regards,
Balanandam
Connor McDonald
November 03, 2020 - 1:55 am UTC

glad we could help

More to Explore

PL/SQL demos

Check out more PL/SQL tutorials on our LiveSQL tool.

PL/SQL docs

PL/SQL reference manual from the Oracle documentation library