<div dir="ltr"><div>I did not know you can Time Travel in SQL Graph Queries in Oracle by specifying the <span class="gmail-BxUVEf gmail-ILfuVd" lang="en"><span class="gmail-hgKElc">System Change Number (SCN) or the </span></span><code class="gmail-codeph">TIMESTAMP:</code><br><a href="https://docs.oracle.com/en/database/oracle/property-graph/25.1/spgdg/running-sql-graph-queries-specific-scn.html?source=%3Aem%3Anw%3Amt%3A%3A%3A%3ARC_DEVT230612P00024C00002%3ANSL400299976" target="_blank">https://docs.oracle.com/en/database/oracle/property-graph/25.1/spgdg/running-sql-graph-queries-specific-scn.html?source=%3Aem%3Anw%3Amt%3A%3A%3A%3ARC_DEVT230612P00024C00002%3ANSL400299976</a><br></div><div><br></div><div><br></div><div>e.g.</div><div>SELECT * FROM GRAPH_TABLE (students_graph AS OF SCN 2117789<br> MATCH<br> (a IS person) -[e]-> (b IS person)<br> COLUMNS (<a href="http://a.name">a.name</a> AS a, <a href="http://b.name">b.name</a> AS b, e.meeting_date AS met_on)<br> );</div><div><br></div><div>SQL> SELECT * FROM GRAPH_TABLE (students_graph AS OF TIMESTAMP SYSTIMESTAMP<br> MATCH<br> (a IS person WHERE <a href="http://a.name">a.name</a>='John') -[e]-> (b IS person)<br> COLUMNS (<a href="http://a.name">a.name</a> AS a, <a href="http://b.name">b.name</a> AS b, e.meeting_date AS met_on)<br> );</div><div><br></div><div>This is a unique feature that most Graph Databases do not provide.</div><div><br></div>
</div>