The BEGINCREATE static procedure begins the process of creating an ANYDATA.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
STATIC PROCEDURE BeginCreate(
dtype IN OUT NOCOPY AnyType,
adata OUT NOCOPY AnyData);
Parameters
| Parameter | Description |
|---|---|
| dtype | The type of the ANYDATA. |
| adata | The ANYDATA being constructed. |
Exceptions
DBMS_TYPES.INVALID_PARAMETERS: Invalid dtype, which means that the ANYTYPE is not fully constructed or has similar defects.
Considerations
You do not need to call PIECEWISE immediately after this call. The ANYDATA construction process begins in a piece-wise manner automatically.