Start of change

-20471   THE INSERT OR UPDATE IS NOT ALLOWED BECAUSE A RESULTING ROW DOES NOT SATISFY ROW PERMISSIONS.

Explanation

Row access control is enforced for the object of the insert or update operation. Consequently, all attempts to insert or update rows in that table are checked to ensure that the resulting rows conform to the row permissions defined for that table.

System action

The statement cannot be processed. No insert or update operations were performed, and the contents of the table remain unchanged.

Programmer response

Examine the definitions of the row permissions to determine why the requested insert or update operation was not successful. This error might be a data-dependent condition.

SQLSTATE

22542

End of change