16.20 - Example: Using XMLPARSE With the CONTENT and STRIP WHITESPACE Clauses - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ XML Data Type

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1140-162K
Language
English (United States)
SELECT XMLPARSE(CONTENT
   '<Customer/>'
   STRIP WHITESPACE);

The result of the query is:

XMLPARSE( CONTENT '<Customer/>' STRIP WHITESPACE )
--------------------------------------------------
<Customer></Customer>