Oracle Error ORA-22161: type code [string] is not valid

Oracle Error Message

ORA-22161: type code [string] is not valid

Reason for the Error

Given type code is not valid.

Solution

Use one of the typecodes enumerated in OCITypeCode.