16.20 - Example: Applying the SUBSTRING Function to a CLOB Column - Teradata Database

Teradata Vantageā„¢ - SQL Functions, Expressions, and Predicates

prodname
Advanced SQL Engine
Teradata Database
vrm_release
16.20
created_date
March 2019
category
Programming Reference
featnum
B035-1145-162K

The following statement applies the SUBSTRING function to a CLOB column in table full_text and stores the result in a CLOB column in table sub_text.

   INSERT sub_text (text)
   SELECT SUBSTRING (text FROM 9 FOR 128000)
   FROM full_text;