Archived Rows Are Visible In The PL/SQL Code

(Doc ID 2409429.1)

Last updated on JUNE 15, 2018

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.


While using In-Database row archival feature (ORA_ARCHIVE_STATE) to archive rows. When you query from PL/SQL procedure/function/package, these rows are still visible. Below test case will demonstrate the issue.

1) Create a temporary table and insert some rows for testing.

We can clearly see that the archived rows are still visible in the PL/SQL. However the cursor fetch, bulk fetch, DBMS_SQL does not show archived rows.


Nothing specific. 


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms