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 does not support this feature.
Syntax
STATIC PROCEDURE BeginCreate(
dtype IN OUT NOCOPY AnyType,
adata OUT NOCOPY AnyData);
Parameters
| Parameter | Description |
|---|---|
| dtype | The type of the ANYDATA object. |
| adata | The ANYDATA object being built. |
Exceptions
DBMS_TYPES.INVALID_PARAMETERS: The dtype parameter is invalid (for example, the ANYTYPE object is incomplete or has other defects).
Considerations
You do not need to call the PIECEWISE procedure immediately after calling BEGINCREATE. The ANYDATA object will be built in pieces automatically.
