The WRITE_LINE procedure transmits a text line to the open connection service. A newline character sequence is appended at the end of the message.
Applicability
This topic applies only to OceanBase Database in Oracle mode.
Syntax
UTL_TCP.WRITE_LINE (
c IN OUT NOCOPY connection,
data IN VARCHAR2 DEFAULT NULL CHARACTER SET ANY_CS)
RETURN PLS_INTEGER;
Parameters
| Parameter | Description |
|---|---|
| c | The TCP/IP connection. |
| data | The buffer containing the data to be sent. |
Return value
The number of characters actually transmitted.
Considerations
- The connection must have been opened by using the
open_connectionprocedure. - The text character set is converted to the specified online character set before transmission.