The PUTF_NCHAR procedure writes data in the NCHAR format to a specified file.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
UTL_FILE.PUTF_NCHAR (
file IN FILE_TYPE,
format IN VARCHAR2,
arg1 IN VARCHAR2 DEFAULT NULL,
arg2 IN VARCHAR2 DEFAULT NULL,
arg3 IN VARCHAR2 DEFAULT NULL,
arg4 IN VARCHAR2 DEFAULT NULL,
arg5 IN VARCHAR2 DEFAULT NULL
);
Parameters
| Parameter | Description |
|---|---|
| file | The active file handle returned by the FOPEN procedure. |
| format | The format string, where %s is a string placeholder and \n indicates a line terminator. |
| arg1 to arg5 | Up to five optional parameters that replace the %s placeholders in the format string. If there are fewer parameters than placeholders, the unprocessed %s placeholders remain unchanged or are ignored. |
