In this blog post, let’s learn about the error message “20752 The cmdname command cannot work on object object-name that has an object type of type. cmdname supports only objects that have an object type of BT.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20752 The cmdname command cannot work on object object-name that has an object type of type. cmdname supports only objects that have an object type of BT.
Reason for the Error
You possibly specified a utility operation on a view, stored procedure, or an alias for an SQL/MP object. The utility operation on these objects is not allowed.
Solution
Specify the name of a table and resubmit