TO_CLOB
TO_CLOB(character_value)
Section titled “TO_CLOB(character_value)”- character_value: A VARCHAR2 value that will be converted to a CLOB. This argument comes in the form of a string and represents the data to be converted to the CLOB data type.
Example
Section titled “Example”SELECT TO_CLOB('Oracle Conversion') FROM dual;Output
Section titled “Output”TO_CLOB('Oracle Conversion')---------------------------Oracle ConversionExplanation
Section titled “Explanation”The TO_CLOB function converts a NCLOB, BLOB, BFILE, BINARY_FLOAT, BINARY_DOUBLE, or a user-defined type column to a CLOB column. In the given example, the string ‘Oracle Conversion’ is converted to a CLOB.