Advertisement
fkeles

Untitled

Apr 13th, 2023
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.42 KB | Source Code | 0 0
  1. CREATE TABLE DEMO_TABLE (
  2.   T_ID    NUMBER GENERATED ALWAYS AS IDENTITY INCREMENT BY 1 START WITH 1,
  3.   T_DATA  VARCHAR2(200 BYTE)
  4. );
  5.  
  6. INSERT INTO DEMO_TABLE (t_data) VALUES ('test data 1');
  7. INSERT INTO DEMO_TABLE (t_data) VALUES ('test data 2');
  8. INSERT INTO DEMO_TABLE (t_data) VALUES ('test data 3');
  9. commit;
  10.  
  11. SELECT * FROM flashback_transaction_query
  12. WHERE 1=1
  13. AND logon_user = 'ADMIN'
  14. AND TABLE_NAME = 'DEMO_TABLE';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement