1

Is there a way in Oracle to check with a sql (pl/sql) statement if a table is reset by a user?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

1 Answers1

1

There is nothing in the data dictionary that will tell you whether a FLASHBACK TABLE operation was ever performed on a table. The ROW_MOVEMENT column of DBA_TABLES (or ALL_TABLES or USER_TABLES depending on your requirements and privileges) will tell you whether row movement is currently enabled which would allow someone to do a FLASHBACK TABLE.

Justin Cave
  • 227,342
  • 24
  • 367
  • 384