HPE NonStop SQL/MX Error – 1028 The schema must be empty. It contains at least one object object-name.

In this blog post, let’s learn about the error message “1028 The schema must be empty. It contains at least one object object-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

1028 The schema must be empty. It contains at least one object object-name.

Reason for the Error

You attempted to drop a schema that contains one or more objects.

Solution

Either drop all the objects in schema-name and resubmit the statement, or resubmit the DROP statement using the CASCADE option