This Oracle tutorial explains how to use the Oracle/PLSQL TO_CLOB function with syntax and examples.
The Oracle/PLSQL TO_CLOB function converts a LOB value from the national character set to the database character set.
The syntax for the TO_CLOB function in Oracle/PLSQL is:
A lob_column, char, varchar2, nchar, nvarchar2, clob or nclob value.
The TO_CLOB function returns a CLOB value.
The TO_CLOB function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle TO_CLOB function examples and explore how to use the TO_CLOB function in Oracle/PLSQL.
For example:
This example would convert the value in the field called nclob_column to a CLOB value.