The GET_RAW procedure reads raw binary data from an operating system file.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
UTL_FILE.GET_RAW (
fid IN UTL_FILE.FILE_TYPE,
r OUT RAW,
len IN PLS_INTEGER DEFAULT NULL
);
Parameters
| Parameter | Description |
|---|---|
| fid | The file handle obtained by using the FOPEN procedure. |
| r | The output buffer that receives the binary data read from the file. |
| len | An optional parameter. The default value is FALSE. If you set this parameter to TRUE, the data is immediately flushed to disk to ensure real-time writing. |
