Oracle® Database SQL Reference 10g Release 1 (10.1) Part Number B10759-01 |
|
|
View PDF |
TO_CLOB
converts NCLOB
values in a LOB column or other character strings to CLOB
values. char
can be any of the datatypes CHAR
, VARCHAR2
, NCHAR
, NVARCHAR2
, CLOB
, or NCLOB
. Oracle Database executes this function by converting the underlying LOB data from the national character set to the database character set.
The following statement converts NCLOB
data from the sample pm.print_media
table to CLOB
and inserts it into a CLOB
column, replacing existing data in that column.
UPDATE PRINT_MEDIA SET AD_FINALTEXT = TO_CLOB (AD_FLTEXTN);