Database Error Messages

ORA-42803

cannot use bind variable in VERSIONS clause when the object has a VPD row-level security policy

Cause

The object being accessed had an Oracle Virtual Private Database (VPD) row-level security policy defined on it and the VERSIONS clause contained a bind variable.


Action

Rewrite the query without using a bind variable in the VERSIONS clause.