The WRITE_LINE procedure sends a text line to the service of an open connection. A newline character sequence is appended to 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 that contains the data to be sent. |
Return value
The number of characters actually sent.
Considerations
- The connection must have been opened by using the
open_connectionprocedure. - Before transmission, the text character set is converted to the specified online character set.
