The CREATETEMPORARY stored procedure creates a temporary BLOB or CLOB and its corresponding indexes in the default temporary tablespace.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
DBMS_LOB.CREATETEMPORARY (
lob_loc IN OUT NOCOPY BLOB,
cache IN BOOLEAN,
dur IN PLS_INTEGER := 10);
DBMS_LOB.CREATETEMPORARY (
lob_loc IN OUT NOCOPY CLOB CHARACTER SET ANY_CS,
cache IN BOOLEAN,
dur IN PLS_INTEGER := 10);
Parameters
| Parameter | Description |
|---|---|
| lob_loc | The locator for the LOB. For more information, see DBMS_LOB. |
| cache | Specifies whether to read the LOB into the buffer cache. |
| dur | A predefined duration value (SESSION or CALL) that specifies whether to clear the temporary LOB at the end of the session or call. If you omit dur, the session duration is used. |
