HPE NonStop SQL/MX Error – 11063 The owner of trigger trigger-name must be the same as the owner of its subject table table-name.

In this blog post, let’s learn about the error message “11063 The owner of trigger trigger-name must be the same as the owner of its subject table table-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

11063 The owner of trigger trigger-name must be the same as the owner of its subject table table-name.

Reason for the Error

You attempted to create a trigger, or to change the ownership of a schema, or a trigger, in a way that would cause the trigger and its subject table to be owned by different users. That is not permitted.

Solution

For trigger creation: Create the trigger in a way that would cause it to have the same owner as its subject table. For example, create it in the same schema as the subject table.

For schema ownership change: Explicitly change the ownership of the trigger subject table before changing schema ownership.

For trigger ownership change: You cannot change ownership of a trigger directly

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this blog post, let’s learn about the client error message “EngineNotSupported with HTTP Status 400” when working with PolarDB...
  • Data
  • December 15, 2022
In this blog post, let’s learn about the client error message “EngineVersionNotSupported with HTTP Status 400” when working with PolarDB...
  • Data
  • December 15, 2022
In this blog post, let’s learn about the client error message “IncorrectDBClusterLockMode with HTTP Status 400” when working with PolarDB...
  • Data
  • December 15, 2022