문법 |
목적 |
TO_NCLOB함수는 LOB열 또는 다른 문자열에서 CLOB값을 NCLOB값으로 변환한다.char은
CHAR,VARCHAR2,NCHAR,NVARCHAR2,CLOB,NCLOB 데이터형이다. 오라클 데이터 베이스는 char의 데이터베이스 문자
세트에서 문자 세트를 national character set로 변환하는 것에 의해 이 함수를 실행한다.
예제 |
다음 예제는 TO_NCLOB함수를 가지고 데이터 변환후 Pm.print_media 테이블의
NCLOB 열에 문자 데이터를 삽입한다.
INSERT INTO print_media (product_id, ad_id, ad_fltextn)
VALUES (3502, 31001,
TO_NCLOB('Placeholder for new product description'));