-513 INVALID USE OF alias-name
Explanation
The object indicated by alias-name can be the name of an alias that was being created, or the name of an alias that was used in an invalid context. An alias cannot be defined on another alias at the same server.
System action
The statement cannot be processed.
Programmer response
Modify the SQL statement to refer to the name of an object of a supported type.
SQLSTATE
42924