In this blog post, let’s learn about the error message “25254 The RESTRICT option was specified for the operation operation and related catalog catalog exists.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
25254 The RESTRICT option was specified for the operation operation and related catalog catalog exists.
Reason for the Error
An UPGRADE or DOWNGRADE of all metadata in a catalog used the RESTRICT behavior, and one or more related catalogs exist.
Solution
Use the CASCADE option. The GET NAMES OF RELATED CATALOGS command and the RELATEDNESS built-in function return the names of all catalogs related to a named catalog