The GETTYPENAME member function is used to obtain the full type name of ANYDATA.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only MySQL mode.
Syntax
MEMBER FUNCTION GetTypeName(
self IN AnyData)
RETURN VARCHAR2 DETERMINISTIC;
Parameters
| Parameter | Description |
|---|---|
| self | An ANYDATA. |
Return value
The type name of ANYDATA.
If ANYDATA is based on a built-in type, this function returns the built-in type name, such as SYS.NUMBER. If it is based on a user-defined type, this function returns schema_name.type_name, such as ADAM.FOO. If it is based on a temporary anonymous type, this function returns NULL.