WRITE_LINE is used to write a text line to the service connected through an open connection. A newline character sequence is appended to the end of the message.
Applicability
This content applies only to the Oracle-compatible mode of OceanBase Database.
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 | A TCP/IP connection. |
| data | A buffer that contains the data to be sent. |
Return value
The actual number of characters sent.
Considerations
- The connection must have been previously opened using
open_connection. - Before transmission, the text character set is converted to the specified online character set.