当前位置:网站首页>Oracle/PLSQL: To_ Clob Function

Oracle/PLSQL: To_ Clob Function

2022-06-27 01:46:00 yuanlnet

In Oracle/PLSQL, the to_clob function converts a LOB value from the national character set to the database character set.

Syntax

The syntax for the to_clob function is:

to_clob( expression )

expression can either be a lob_column, char, varchar2, nchar, nvarchar2, clob or nclob value.

Applies To

  • Oracle 11g, Oracle 10g, Oracle 9i

For Example

select to_clob(nclob_column)

from suppliers;

This example would convert the value in the field called nclob_column to a CLOB value.

原网站

版权声明
本文为[yuanlnet]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/178/202206270135138948.html