Oracle Error ORA-34796: (OCI08) SQL host variable number cannot be bound.

Oracle Error Message

ORA-34796: (OCI08) SQL host variable number cannot be bound.

Reason for the Error

The data type of the host variable is not supported.

Solution

Specify only variables of supported types as host variable names.