The GETTYPENAME member function gets the complete type name of the ANYDATA.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
MEMBER FUNCTION GetTypeName(
self IN AnyData)
RETURN VARCHAR2 DETERMINISTIC;
Parameters
| Parameter | Description |
|---|---|
| self | An ANYDATA. |
Return values
The type name of the ANYDATA.
If the 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.