16.20 - Example: Applying the SUBSTRING Function to a CLOB Column - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Functions, Expressions, and Predicates

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
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;