Created
April 26, 2020 04:00
-
-
Save VikramVasudevan/a4c9f0b1ff2ff9d1669c41da0452aebe to your computer and use it in GitHub Desktop.
Oracle ROWSCN Demo - Part 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set echo off time on timing off linesize 9999 feedback off heading off | |
-- The following statement might fail if table t does not exist. | |
drop table t; | |
/* Create Table wiht ROWDEPENDENCIES enabled */ | |
CREATE TABLE t | |
( | |
x, | |
y | |
) | |
ROWDEPENDENCIES | |
AS | |
SELECT ROWNUM, substr(table_name,1,10) | |
FROM all_tables | |
WHERE ROWNUM < 100; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment