Examples of Functions - Analytics Database - Teradata Vantage

SQL Functions, Expressions, and Predicates

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
obm1628111499646.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
kby1472250656485
lifecycle
latest
Product Category
Teradata Vantageā„¢
Function Description
SELECT CHARACTER_LENGTH(Details)

FROM Orders;

Scalar function taking the character or CLOB value in the Details column and returning a numeric value for each row in the Orders table.
SELECT AVG(Salary)

FROM Employee;

Aggregate function returning a single numeric value for the group of numeric values specified by the Salary column in the Employee table.