This Oracle tutorial explains how to use the Oracle/PLSQL TO_LOB function with syntax and examples.
The Oracle/PLSQL TO_LOB function converts LONG or LONG RAW values to LOB values.
The syntax for the TO_LOB function in Oracle/PLSQL is:
A LONG or LONG RAW value that will be converted to a LOB.
The TO_LOB function returns a LOB value.
The TO_LOB function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle TO_LOB function examples and explore how to use the TO_LOB function in Oracle/PLSQL.
For example:
This example would convert the value in the field called long_column to a LOB value.