The PUT_RAW procedure writes the input parameters as RAW data to the specified file.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
UTL_FILE.PUT_RAW (
fid IN UTL_FILE.FILE_TYPE,
r IN RAW,
autoflush IN BOOLEAN DEFAULT FALSE
);
Parameters
| Parameter | Description |
|---|---|
| fid | The file handle obtained by using the FOPEN procedure. |
| r | The buffer that contains the binary data to be written. |
| autoflush | An optional parameter. The default value is FALSE. If you set this parameter to TRUE, the data is immediately flushed to the disk to ensure real-time writing. |
