The PUT_LINE_NCHAR stored procedure is used to write NCHAR data to a file and add a line terminator at the end.
Applicability
This content applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support it.
Syntax
UTL_FILE.PUT_LINE_NCHAR (
file IN FILE_TYPE,
buffer IN NVARCHAR2)
Parameters
Parameter |
Explanation |
|---|---|
| file | byFOPEN_NCHARThe file handle opened in text write mode. |
| buffer | The NCHAR data to be written to the file. |
Usage instructions
This stored procedure is equivalent to calling PUT_NCHAR and NEW_LINE_NCHAR in sequence. Using the file handle returned by a regular FOPEN operation will trigger a CHARSETMISMATCH exception.