The GETTYPE member function gets the typecode of the ANYDATA.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL-compatible mode.
Syntax
MEMBER FUNCTION GetType(
self IN AnyData,
typ OUT NOCOPY AnyType)
RETURN PLS_INTEGER;
Parameters
| Parameter | Description |
|---|---|
| self | An ANYDATA. |
| typ | The AnyType that corresponds to the ANYDATA. |
Return values
The typecode that corresponds to the type of the ANYDATA.