Oracle Error ORA-37142: (XSSQLMDQ02) Invalid host variable data type for MDQUERY procedure: string expected.

Oracle Error Message

ORA-37142: (XSSQLMDQ02) Invalid host variable data type for MDQUERY procedure: string expected.

Reason for the Error

The user specified a host variable that was not of the correct type.

Solution

Choose a different host variable.