The BEGINCREATE static stored procedure is used to start creating a new ANYDATA.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only MySQL mode.
Syntax
STATIC PROCEDURE BeginCreate(
dtype IN OUT NOCOPY AnyType,
adata OUT NOCOPY AnyData);
Parameters
| Parameter | Description |
|---|---|
| dtype | The type of ANYDATA. |
| adata | The ANYDATA being built. |
Exceptions
DBMS_TYPES.INVALID_PARAMETERS: dtype is invalid (ANYTYPE is incomplete or has similar defects).
Considerations
You do not need to call PIECEWISE immediately after calling BEGINCREATE. The ANYDATA will be built in segments automatically.