UT_LINE_NCHAR is a stored procedure that writes Unicode characters to a file.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
UTL_FILE.PUT_LINE_NCHAR (
file IN FILE_TYPE,
buffer IN NVARCHAR2,
autoflush IN BOOLEAN DEFAULT FALSE
);
Parameters
| Parameter | Description |
|---|---|
| file | The active file handle returned by calling FOPEN. |
| buffer | The text buffer containing the line to be written to the file. |
| autoflush | Optional. Default value: FALSE. If set to TRUE, data is immediately flushed to disk after writing, ensuring data persistence. |
