NOT NULL Constraint lost when CTAS from a Table with VPD Policy (Doc ID 2141824.1)

Last updated on MAY 29, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

There is a table with column-level VPD policy applied. When a new table is created using CTAS ( Create Table As Select ) based on the VPD policy protected table, the NOT NULL constraint disappears from the new table. 

 

Cause

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