Skip to content

Instantly share code, notes, and snippets.

@VikramVasudevan
Created April 26, 2020 04:01
Show Gist options
  • Save VikramVasudevan/9308b508a39a5ff7cf863fffbb694e13 to your computer and use it in GitHub Desktop.
Save VikramVasudevan/9308b508a39a5ff7cf863fffbb694e13 to your computer and use it in GitHub Desktop.
Oracle ROWSCN Demo - Part 2
var max_row_scn number;
SELECT 'Resetting max scn ...' STATUS_MSG FROM DUAL;
BEGIN
SELECT MAX(ORA_ROWSCN) max_row INTO :max_row_scn FROM T;
END;
/
print max_row_scn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment